We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I found some compatibility issues in Firefox browser.
Environment Browser: Firefox 60.7.0esr (64 bit) Browser download link: ftp.mozilla.org/pub/firefox/releases/60.7.0esr/
I try use these codes to fix this issues:
var _getComputedStyle = getComputedStyle(target, '::-webkit-scrollbar'); var width = '0px'; var height = '0px'; try { width = _getComputedStyle.width, height = _getComputedStyle.height; }catch(e) { width = '0px'; height = '0px'; }
Can these codes be merged into the master branch?
The text was updated successfully, but these errors were encountered:
getComputedStyle(document.body, '::-webkit-scrollbar');
所以出现这种声明了要匹配的伪元素的字符串反而被浏览器识别为元素不存在,返回了 null https://bugzilla.mozilla.org/show_bug.cgi?id=1467722 https://bugzilla.mozilla.org/show_bug.cgi?id=1471231
Sorry, something went wrong.
No branches or pull requests
I found some compatibility issues in Firefox browser.
Environment
Browser: Firefox 60.7.0esr (64 bit)
Browser download link: ftp.mozilla.org/pub/firefox/releases/60.7.0esr/
I try use these codes to fix this issues:
Can these codes be merged into the master branch?
The text was updated successfully, but these errors were encountered: