-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IE11.0.47 scrollbar closes dropdown #166
Comments
My first horrible solution, but it works:
|
I have not looked at the details of your issue, but we started having a similar issue with our custom dropdown component in IE 11.0.47. In our case, the root cause was that when the option was clicked on, focus was given to the body element instead of the option element (a div) and this caused the options to close without selecting a new option. I fixed the issue by adding tabindex="-1" to the option element. This allowed focus to go to the option element as expected. |
Thanks @mike-bresnahan , that will probably help a few others. I did not encounter this issue actually, it only affected the scrollbar. |
It appears that there was a semi-documented change to the focus behavior in IE 11.0.47. What's odd is that the document says, "Addressed issue that prevents an element from receiving focus in Internet Explorer", however the behavior I observe is that an element does NOT receive focus as expected. https://support.microsoft.com/en-us/help/4041681/windows-7-update-kb4041681 This security update includes improvements and fixes that were a part of update KB4038803 (released September 19, 2017) and resolves the following issues: |
Yep, I saw this too, either way they just broke things due to lack of proper testing. |
@mike-bresnahan I tried looking at your solution again, as mine causes some choppy loading of the boxes, but I couldn't actually see any |
Ah found it, the solution was to put |
@worthy7 Could you give an example using the official scrollable-dropdown-menu Because there is no:
|
Sorry, for some reason I have a different kind of dropdown, I think I may have customized it. Anyway, I think it is most likely the |
Fairly annoying issue that just started from this release of IE.
Dogfalo/materialize#901
selectize/selectize.js#1004
mgcrea/angular-strap#1202
The e.target is always == to the Input element which caused it (as expected)
The activeElement is always == the body of the doc when clicking the scrollbar.
Running low on ideas of how to fix this....
The text was updated successfully, but these errors were encountered: