This is a migrated thread and some comments may be shown as answers.

Multiple Kendo Modal Windows causes body to scroll automatically

3 Answers 347 Views
Window
This is a migrated thread and some comments may be shown as answers.
Louise
Top achievements
Rank 1
Louise asked on 21 Jul 2016, 02:12 PM

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

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 25 Jul 2016, 10:03 AM
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.
 
0
Louise
Top achievements
Rank 1
answered on 26 Jul 2016, 04:11 AM

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

0
Ianko
Telerik team
answered on 26 Jul 2016, 02:45 PM
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.
 
Tags
Window
Asked by
Louise
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Louise
Top achievements
Rank 1
Share this question
or