Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

IE bug: non-native listbox always showing the "No results." notice #139

Open
dgervalle opened this issue Oct 22, 2019 · 0 comments
Open

Comments

@dgervalle
Copy link

dgervalle commented Oct 22, 2019

IE does not support childElementCount on document fragment (see https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10060579/), causing the test on line 2038 to always fail. Highlight first selected option with test on line 258, should also fail due to the same issue (untested).

Here is a polyfill for that issue:
https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/childElementCount#Polyfill_for_IE8_IE9_Safari

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant