Allow mouse wheel for scrolling in selectors

Issue #100 resolved
Matthias Schoettle created an issue

Currently, the mouse wheel is used for zooming, but when scrolling while the mouse is on a selector nothing happens.

It would be nice to use it there to scroll inside the selector (in addition to dragging the contents, but that can then mostly be used for touch).

Comments (10)

  1. Laura Martellotto

    References issue #100: Restricts the scroll to the top and bottom.

    The mouse wheel for scrolling works. Maybe it needs to be more fluid ? I added a limit to scroll when the user is on the top or bottom of the list, to avoid to make disappear the entire list and wait sometimes few seconds to see it reappear !

    → <<cset a6c6aa2e3649>>

  2. Laura Martellotto

    References issue #100: Added fluidity to scroll.

    I have to fix a minor bug for the bounce of the elements in the selector and to comment/review the code.

    → <<cset aa5b74c992be>>

  3. Matthias Schoettle reporter

    Very cool!

    There are two things that might be nice to have:

    • See that the list is scrollable (I don't think we need a full scroll bar)
    • Currently the size width of the selector adjusts depending on the current elements shown, it might be "nicer" to always have the maximum width. Is this easily possible?
  4. Laura Martellotto

    References issue #100: Added indicators that the list is scrollable

    For the width of the selector, it is a quite big dilemma :) Because for example, if there are 100 components in a selector and juste one of them has a width of 800px while others have a width of 100px, the selector will be so much big for small components. I don't know what solution is better ...

    → <<cset 29d97cac0c8d>>

  5. Log in to comment