Safari (tested with 17.3) also triggers the observer callback for children whose intersectionRatio is below the threshold. This only happens inside the editor iframe. In the preview or published entries, the behavior matches Chrome and Firefox.
We need to double check intersectionRatio ourselves to prevent invoking the onVisibleIndexChange callback for all of the children, which leads to a broken image gallery.
Safari (tested with 17.3) also triggers the observer callback for children whose
intersectionRatio
is below the threshold. This only happens inside the editor iframe. In the preview or published entries, the behavior matches Chrome and Firefox.We need to double check
intersectionRatio
ourselves to prevent invoking theonVisibleIndexChange
callback for all of the children, which leads to a broken image gallery.REDMINE-20635