jQWidgets Forums

jQuery UI Widgets Forums Scheduler Scrolling to the top when header is invisible

This topic contains 6 replies, has 2 voices, and was last updated by  elijadar 8 years, 4 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author

  • elijadar
    Participant

    Hi

    On IE11 when there is no header visible on jqxScheduler first click will scroll the grid to the top so header becomes visible. When you scroll the grid down so the header is invisible next click (on arbitrary row) will not scroll it to the top but second click (on arbitrary row) will do it. It looks like each even mouse click scrolls the grid to the top and each odd mouse click does not.

    In Chrome jqxScheduler scrolls to the top only after focus lost.

    Can it be fixed on IE11 so jqxScheduler behaves like in chrome?

    Can I disable scrolling to the top when header is invisible?

    Thanks


    Peter Stoev
    Keymaster

    Hi elijadar,

    On click, we set the focus if it’s not in the Scheduler. Different browsers behave in a different way when focus is set.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    elijadar
    Participant

    Hi Peter,

    During described procedure focus remains in the scheduler (after acquiring it first time).
    We just click on control two or more times. Focus doesn’t move from the scheduler.

    Thanks


    Peter Stoev
    Keymaster

    Hi elijadar,

    Sorry, but I do not understand what your post means. Let me explain why it works in the way it works. The first focus brings the element into View. The element is the Scheduler. Chrome understands that the Scheduler is already into view and does not re-scroll. IE scrolls to the top of the element.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    elijadar
    Participant

    Hi Peter,

    Here is a small visual content that shows what I described in the post (about each second (or even) click).

    The questions remain the same.
    What should we do if we have the Scheduler with height more than the height of the page?
    Is it possible to disable calling focus on each second click?

    Thanks


    Peter Stoev
    Keymaster

    Hi elijadar,

    The answer is the same. If the focus is not in the scheduler it will scroll. This is browser behavior.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    elijadar
    Participant

    Hi Peter,

    Please pay special attention at the screencast to notice that after scroll down I perform a left mouse click in the grid so a cell becomes highlighted and grid does not jump up to the header.

    Only after second left mouse click on another cell, Scheduler jumps up to the header.

    You can easily do the same. No special preparation requires.

    1. Go to the jqxScheduler Demo with IE11
    2. Scroll to the grid so only half of it is visible
    3. Make left mouse click on a cell inside (1st click). Please note that after your 1st click jqxScheduler will jump up to the header.
    4. After that you should scroll slightly down (with browser scroll and not with grid internal scroll) one more time
    5. Click on a cell one more time (2nd click). And here it is – no actions. Cell becomes selected but grid does not jump to the header.
    6. But when you click one more time on a cell (3d click) – it jumps up.

    Thanks

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

You must be logged in to reply to this topic.