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 fb9904c commit d515f24Copy full SHA for d515f24
source/src/components/CSSNumericVariableWatch.tsx
@@ -43,7 +43,7 @@ export const useCSSVariableWatch = (
43
React.useLayoutEffect(() => {
44
const value = params.ref.current!.getBoundingClientRect().height;
45
46
- if (value) {
+ if (value != null) {
47
lastValueRef.current = value;
48
49
debug(`Variable ${params.varName} found and equals ${value}.`);
0 commit comments