This is a migrated thread and some comments may be shown as answers.
Page shifting if scheduler bottom is off screen
4 Answers 12 Views
This is a migrated thread and some comments may be shown as answers.
Cyndie
Top achievements
Rank 1
Cyndie asked on 21 Nov 2013, 04:05 PM
I have an issue where I have a scheduler which extends off the bottom of the page and when you click on it, the whole page shifts up, so that the top, left corner of the calendar is at the top of the page.  Is there a way to prevent the page from shifting?

When you double-click to bring up the editor, it ends up opening at the wrong time slot, because it shifted between clicks.

4 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 25 Nov 2013, 11:24 AM
Hi Cyndoe,


I tried to reproduce the problem locally but to no avail – everything is working as expected on our side. Could you please provide more information about the exact browser version that you are using as well as screencast (you can use for example this screencast recorder) to demonstrate the exact steps needed to reproduce the issue on our side? This would help us pinpoint the exact reason for this behavior.

Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Cyndie
Top achievements
Rank 1
answered on 05 Dec 2013, 02:15 PM
Sorry for the delay responding.

Here is a screencast as requested:
http://screencast.com/t/24mtOpLIr

I'm using IE9, but it happens in IE8 Mode also.  My page is an aspx page (using a master page).  I'm using the latest Q3 install.  In the screencast, the scheduler scrolls off the page and as soon as I click on it, the page pops up to put the top of the scheduler at the top of my browser window.  If I try to double-click to add or edit an event, the second click ends up being at the wrong time because the page shifted.

Thanks!
0
Vladimir Iliev
Telerik team
answered on 09 Dec 2013, 04:04 PM
Hi Cyndie,

Thank you for the provided screencast. 

Basically the demonstrated example is related to browser specific behavior of IE9 and earlier - when you focus given element (required to enable keyboard navigation and selection) the browser automatically scrolls that element to current view. Please note that this behavior cannot be prevented.

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Cyndie
Top achievements
Rank 1
answered on 07 Feb 2014, 03:45 PM
I found a solution to my issue which prevents the page shift behavior.  For some reason, by manually setting the height in the javascript scheduler declaration, the page no longer shifts when you click in the scheduler.  Not sure if maybe height is required when selectable is set to true or if it needs to be set when inside a splitter to match the height of the splitter, but hopefully it helps someone else if they run into the same issue.
Asked by
Cyndie
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Cyndie
Top achievements
Rank 1
Share this question
or