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

Popup window scrolls to top of window

2 Answers 152 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Adrian
Top achievements
Rank 1
Adrian asked on 21 Mar 2019, 03:22 PM

I have a grid with a popup editor that has lots of content. There is a problem is when you scroll down and the window title is no longer visible. When I make changes to some of the kendo elements in the popup (grid, editor), the browser then scrolls up to the top of the window. 

How can I prevent this scroll up?

2 Answers, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 26 Mar 2019, 10:42 AM
Hello Adrian,

We need to be able to reproduce the problem in order to see what causes it and how to prevent it. Can you show us the popup editor template content? The Grid declaration would also be helpful.

The page might be scrolling up if there is an anchor element with href="#" that you are clicking while manipulating the Grid in the popup editor. Other possible reasons that I can think of include page reload, popup editor re-opening or some custom JavaScript logic but I can't make any specific suggestions without looking at your code.

Regards,
Tsvetina
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Adrian
Top achievements
Rank 1
answered on 27 Mar 2019, 07:59 PM

Hello Tsvetina,

Thanks for your reply. I've attempted to recreate the issue in a new project without success. I'll have to look at this closer.

Tags
Grid
Asked by
Adrian
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Adrian
Top achievements
Rank 1
Share this question
or