- {log.map((e, i) => ( --{e}- ))} -
- {log.map((e, i) => ( --{e}- ))} -
Segment
- updateOn='repaint'
, it will allow to
- update and fire callbacks on browser repaint (animation frames).
-
- }
- examplePath='behaviors/Visibility/Settings/VisibilityExampleUpdateOn'
- >
- Visibility
handles events only on browser
- events. It means that if you will hide a large block an event will not
- be triggered and Visibility
will not perform calculations.
- This problem can be easily solved with updateOn='repaint'
.
-
- Visibility
component is deprecated and will be removed in
- the next major release. Please follow our{' '}
-
- upgrade guide
- {' '}
- to avoid breaks during upgrade to v3.
-