MCPcopy Create free account
hub / github.com/docker/getting-started / triggerBrowserReflow

Function triggerBrowserReflow

app/src/static/js/react-bootstrap.js:9312–9314  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

9310// reading a dimension prop will cause the browser to recalculate,
9311// which will let our animations work
9312function triggerBrowserReflow(node) {
9313 node.offsetHeight; // eslint-disable-line no-unused-expressions
9314}
9315// CONCATENATED MODULE: ./src/utils/createChainedFunction.js
9316/**
9317 * Safe chained function

Callers 3

CollapseFunction · 0.85
FadeFunction · 0.85
react-bootstrap.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…