bramus / scroll-driven-animations-debugger-extension

Browser extension to debug Scroll-Driven Animations
40 stars 1 forks source link

Minimap: Elements that are children of the subject are in the wrong spot #30

Closed bramus closed 1 year ago

bramus commented 1 year ago

E.g. https://cdpn.io/pen/debug/bGORQMM/d1616ec346e06f09d7f34ec667571e2e (forked from https://codepen.io/raphaelgoetter/pen/wvReGKK by @raphaelgoetter to preserve a copy)

The element should be a child of the Subject.

raphaelgoetter commented 1 year ago

The element should be a child of the Subject.

Aren't they?

Am I mistaken? "descendants" should work too or must they be direct childs only? (the scroll-driven animation is working though)

bramus commented 1 year ago

Aren't they?

In the DOM they are, but in the minimap they are rendered as siblings. That’s the bug.

bramus commented 1 year ago

Fix landed in in the code, but is pending release.

bramus commented 11 months ago

This fix is included in version 1.0.1 which was published today.