We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d787e67 commit 4dcc056Copy full SHA for 4dcc056
src/utils/getScrollbarWidth.js
@@ -20,5 +20,5 @@ export default function getScrollbarWidth() {
20
} else {
21
scrollbarWidth = 0;
22
}
23
- return scrollbarWidth;
+ return scrollbarWidth || 0;
24
0 commit comments