mostly finished rewrite
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// reading a dimension prop will cause the browser to recalculate,
|
||||
// which will let our animations work
|
||||
export default function triggerBrowserReflow(node) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
||||
node.offsetHeight;
|
||||
}
|
||||
Reference in New Issue
Block a user