GoScrobble/web/node_modules/react-bootstrap/cjs/triggerBrowserReflow.js

13 lines
357 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
"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"];