Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

88
Views
Zkoss slider doesn't keep position

I have implemented a modal in Zkoss with several slides, one of the modalPage has a slider componente with a related longbox. The two components use the same value like this:

<u:longbox
          id="longbox-input"
          value="@bind(viewModel.amount)"
          onChange="@command('updateValue')"
          onOK="@command('updateValue')"
          />
<u:slider
         id="slider-input"
         mold="sphere"
         width="100%"
         minpos="@load(viewModel.amountMinValue)"
         maxpos="@load(viewModel.amountMaxValue)"
         curpos="@bind(viewModel.amount)"
         onScroll="@command('updateValue')"
         />

When I am on the modalPage everything works as expected, in this way if I input some value in the longbox the value will be displayed on the slider and the other way around. When I change modalPage, the value in the longbox is correctly displayed, the slider value is correct but the position of the slider cursor is wrong even if the value of the amount is correct. Did you have something similar?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!