JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Gantt Horizontal scroll by MouseWheel or TouchPad gestures

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #104649
    Anton Ruhl
    Participant

    Hello!

    How can I make a horizontal scroll work without a scrollbar.

    I need horizontal scrolling to work on the mouse wheel and touchpad gestures.

    Thanks!

    #104650

    Hi,

    To scroll horizontally with the mouse wheel, you should hold the shift button.
    The same goes for smart gestures.

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

    #108916
    Shubham Printe
    Participant

    Hi Svetoslav,

    Is there a way to override that requirement i.e. to hold the ‘shift’ button to scroll with the mouse wheel ?

    #108935
    ivanpeevski
    Participant

    Hi Shubham,

    You can manually implement the scroll through the “wheel” event.

    Here is an example – codepen

     

    Best Regards,
    Ivan Peevski

    Smart UI Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.