Files
Speedtest-Tracker/conf/site/node_modules/react-bootstrap/esm/triggerBrowserReflow.js
Henry Whitaker ea5808047f Tweaked gitignore
gitignore removed all composer and npm files, so automated builds would fail
2020-04-12 21:24:03 +01:00

5 lines
225 B
JavaScript
Vendored

// reading a dimension prop will cause the browser to recalculate,
// which will let our animations work
export default function triggerBrowserReflow(node) {
node.offsetHeight; // eslint-disable-line no-unused-expressions
}