You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
354 B
13 lines
354 B
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
exports.default = triggerBrowserReflow;
|
|
|
|
// reading a dimension prop will cause the browser to recalculate,
|
|
// which will let our animations work
|
|
function triggerBrowserReflow(node) {
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
node.offsetHeight;
|
|
}
|
|
|
|
module.exports = exports.default; |