mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
13 lines
357 B
JavaScript
13 lines
357 B
JavaScript
"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"]; |