jQWidgets Forums

jQuery UI Widgets Forums Grid Horizontal Scrolling w trackpad

This topic contains 4 replies, has 2 voices, and was last updated by  jacobraccuia 8 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Horizontal Scrolling w trackpad #92024

    jacobraccuia
    Participant

    On any of my instances of the tree grid, when the scrollbar becomes prevalent, my trackpad triggers horizontal scrolling. Whether I’m scrolling up and down or left and right, the scrollbar jumps back and forth constantly. Ideally, I would have no trackpad. I wasn’t able to recreate this issue in a fiddle. Here is a gif. I am scrolling only right for a bit, and then scrolling left near the end.

    I noticed in console log that scrolling triggered the GroupsRenderer method i have. I put a console log in there and scrolling causes the log to keep running. I wonder if this is related.

    I am using latest Chrome on Sierra.

    I will provide more information if requested.

    Horizontal Scrolling w trackpad #92026

    Peter Stoev
    Keymaster

    Hi jacobraccuia,

    The behavior is by design and there is a code which does that. Same behavior can be observed with mouse’s wheel.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Horizontal Scrolling w trackpad #92029

    jacobraccuia
    Participant

    Thank you for your response!

    How can I disable it? It’s causing incredible dissatisfaction, I mean scrolling down the page triggers the table to scroll left to right and that doesn’t make any sense to me. I’m not saying remove the scrollbar, I just don’t want it to scroll sideways when I scroll down. On JSFiddle demos that are frequently shared, it doesn’t happen.

    Maybe I can force scrolling to only work when manually dragging the scrollbar?

    Horizontal Scrolling w trackpad #92031

    Peter Stoev
    Keymaster

    If you use the TreeGrid then you cannot disable it as there is no such property. The Grid has and is called enablemousewheel which defaults to true.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Horizontal Scrolling w trackpad #92353

    jacobraccuia
    Participant

    i can deal with it not being in tree grid. THANK YOU SO MUCH PETER!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.