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

focusTable() is Repositioning Pop-Up Window

1 Answer 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian Roth
Top achievements
Rank 1
Brian Roth asked on 08 Sep 2015, 07:51 PM

Hello!

I've been chasing this bug that occurs when selecting a row in a grid within a Kendo pop-up window. In all non-IE browsers, I get an issue that causes the pop-up window to jump up when selecting a row. I've narrowed my search down to the Kendo method focusTable() which calls the focus() method on the table in all non-IE browsers. I've read focus() sets the active element and positions the window in the foreground. In contrast, IE's setActive() method does the same without positioning the window. Do you have any suggestions on a work around for this issue?

 I've attached some screencasts of the bug below:

 Thanks,

 Brian

http://screencast.com/t/R8EHG73dW

http://screencast.com/t/YZIZpvv0gYp​

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 11 Sep 2015, 06:33 AM

Hello Brian Roth,

 

fucusTable function handles focusing of the only "focusable" element in the Grid widget, namely the table element. This will only happen when navigatable feature is enabled. 

 

For cases as IE we are using setActive when supported due to this behavior, but unfortunately there isn't an alternative (at least known to use) for other browsers.

 

Focusing the table is required as it is the element which manages highlighting of the active cell when the user navigates through the table.

 

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Brian Roth
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or