We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e732d7 commit ce94d86Copy full SHA for ce94d86
src/helpers/tabbable.js
@@ -26,7 +26,8 @@ function hidesContents(element) {
26
// if 'overflow: visible' set, check if there is actually any overflow
27
(element.scrollWidth <= 0 && element.scrollHeight <= 0)
28
: style.getPropertyValue("display") == "none";
29
- } catch(exception) {
+ } catch (exception) {
30
+ console.warn('Failed to inspect element style');
31
return false;
32
}
33
0 commit comments