DropDownList prevent close on scroll, anytime

2 posts, 0 answers
  1. Bertrand
    Bertrand avatar
    3 posts
    Member since:
    May 2015

    Posted 16 Oct 2015 Link to this post

    I would like to know if the behavior explained here can be added automatically to every DropDownList created dynamically in my application: 


    I would like this to be the default behavior for all my DropDownList because otherwise I consider they are not working as expected (same as a regular Select element, which does not close when scrolled). Thanks.

  2. Plamen Lazarov
    Plamen Lazarov avatar
    135 posts

    Posted 20 Oct 2015 Link to this post

    Hello Bertrand,

    By design, the DropDownList popup closes when any of the parent elements are scrolled. When the last popup item is reached widget does not prevent the default browser behavior. Hence the parent is scrolled and widget's popup is closed automatically.

    I am afraid that preventing the popup close while scrolling cannot be added to the DropDownList as a built-in behavior, as the available technical solution is not 100% stable. For the time being, it should be implemented by the developer manually. He/she needs to ensure that the applied change will work as expected in the browser that the app needs to support.

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