Slider issue when not initially visible on the view

2 posts, 1 answers
  1. Artie
    Artie avatar
    29 posts
    Member since:
    May 2015

    Posted 24 Jun 2015 Link to this post

    We've run into a minor problem with the Kendo slider.  When navigating to a new view, if that view has a slider (or multiple sliders) on it that are in an element that is not visible, the user can not change the value of the slider with the mouse.  You can use the left/right arrows to change the value (and the events fire), but the slider won't move.

     If you then navigate off of the view, and then back onto that same view, the slider then works.  I've put a little demo together in the Dojo that illustrates what I'm talking about:

    1. Click "Load Secondary View:
    2. Click "Show Panel 2"
    3. Try to move the slider with the mouse, and then try with the keyboard arrows
    4. Click "Back"
    5. Click "Load Secondary View"
    6. The slider now works, and has the value that was previously "set" by the arrow keys.

    Any suggestions as to a workaround?​


  2. Answer
    Petyo avatar
    2444 posts

    Posted 26 Jun 2015 Link to this post


    you can call the resize method to refresh the slider dimensions.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top