I have popup dialog “PD1” where I have a button. When I click on that button a new modal popup dialog “PD2” will be displayed with grid containing #text_filter (cursor will be blinking on #text_filter). When I hit Enter in Internet Explorer, dialog “PD2” will lose focus and dialog “PD1” will have the focus. How to avoid this? How to handle onEnter in #text_filter?
Unfortunately the issue cannot be reproduced locally.
Could you pleas,e provide with a complete demo, or share with a demo link, where the problem can be reproduced.
This is the website:
tiborzsitva.szm.com/dd/my.html
The problem only happens in IE.
Chrome, Opera, Firefox are okay.
Somehow the “Start here” button gets focus when user hits Enter in the #text_filter in the second dialog.
hi sematik
could you please take a look at this issue?
thank you in advance
Please, try to update the version of your dhtmlx to support the latest versions of the IE.
Maybe I found the root cause of the issue. On these addresses
tiborzsitva.szm.com/dd/my.html
tiborzsitva.szm.com/d2/my.html
the files have this header:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10" />
But on these addresses
tiborzsitva.szm.com/dd/my11.html
tiborzsitva.szm.com/d2/my11.html
have this header
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11" />
Version 10 is not working, version 11 is okay.
I have another problem
If I change the header to this:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11" />
the problem Enter keypress on #text_filter is resolved. But I have everywhere empty grids… I found this thread:
http://forum.dhtmlx.com/viewtopic.php?f=2&t=33682
This happens exactly to me… But there’s no solution for this.
The described behavior is happens only for the IE10 emulation mode.
Unfortunately such behavior cannot be fixed in the near future.