Multiple Kendo Modal Windows causes body to scroll automatically

4 posts, 0 answers
  1. Louise
    Louise avatar
    6 posts
    Member since:
    Nov 2014

    Posted 21 Jul Link to this post

    Hello, I had this issue when you have two kendo windows open and the document has a scrollbar. When closing a modal window while another modal is on the background, the body somehow automatically scrolls up.

     

    Here is a sample code

    http://dojo.telerik.com/IHOvI

    To replicate:

    - Open Window1

    - Scroll the body to the middle

    - Open Window 2

    - Close Window 2

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 25 Jul Link to this post

    Hello Louise,

    I tried to reproduce the described behavior, but to no avail. You can see a record with the test case using the provided dojo: http://screencast.com/t/L9eeO6mZ6pkW.

    Regards,
    Ianko
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. Louise
    Louise avatar
    6 posts
    Member since:
    Nov 2014

    Posted 25 Jul in reply to Ianko Link to this post

    Hello, sorry I missed a step.

    After opening Window 2, scroll the body to a lower point.Then Close Window

    I recorded the behavior

    http://screencast.com/t/hVV1ypb11Dz

  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 26 Jul Link to this post

    Hello Louise,

    Thank you for the additional step. With it I was able to reproduce and see what the problem is.

    In this case the page scrolling is activated because the previous Window needs to be focus. This, however, is a pinned popup and it assumes that it should be visible and scrolling is not needed.

    This is why I have logged this Github issue: https://github.com/telerik/kendo-ui-core/issues/1997. You can monitor it for further details.  

    Regards,
    Ianko
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready