clauderic / clauderic/react-sortable-hoc
Workaround for mozilla bug doesn't work since Firefox 62
Open
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 959
- PR merge metrics
- No merged PRs in 30d
Description
Related pull request: https://github.com/clauderic/react-sortable-hoc/pull/106
Since Firefox version 62, window.getComputedStyle() returns a CSSStyleDeclaration object with length 0 (instead of null) inside an iframe with display: none.
See this comment: https://bugzilla.mozilla.org/show_bug.cgi?id=548397#c53.
CSSStyleDeclaration object with length 0 is not a falsy value, so the previous fix does not work and vendorPrefix gets an empty string value.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.