Closed jstarpl closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 57.96%. Comparing base (
290d400
) to head (bf81baf
). Report is 3 commits behind head on feat/R51-live-status-gateway-on-R50.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
About the Contributor
This pull request is posted on behalf of the NRK.
Type of Contribution
This is a:
Bug fix
Current Behavior
We've had an issue where a Segment component has been left in the optimized-away state after it came into the viewport. We were not able to reproduce this issue.
New Behavior
Since we were not able to reproduce the issue, we've decided to try and refactor the
VirtualElement
component into a Functional component, hopefully fixing whatever state-change-race-condition issue this was caused by. This PR also updates thereact-intersection-observer
library thatVirtualElement
uses.Testing
Affected areas
Time Frame
This Bug Fix is critical for us, please review and merge it as soon as possible.
Other Information
Status