diff --git a/src/client/automation/playback/scroll.js b/src/client/automation/playback/scroll.js index 1e0c86defb9..756f26d08d2 100644 --- a/src/client/automation/playback/scroll.js +++ b/src/client/automation/playback/scroll.js @@ -174,7 +174,7 @@ export default class ScrollAutomation { _isChildFullyVisible (parentDimensions, childDimensions, offsets) { const { x, y } = ScrollAutomation._getChildPointAfterScroll(parentDimensions, childDimensions, parentDimensions.scroll, offsets); - const zeroMargin = { left: 0, top: 0 }; + const zeroMargin = { left: 0, top: 0 }; const { left, top } = this._getScrollPosition(parentDimensions, childDimensions, offsets, zeroMargin);