8000 IE bug: non-native listbox always showing the "No results." notice · Issue #139 · Mobius1/Selectr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.
This repository was 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

Description

@dgervalle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0