crisboarna / react-skillbars

Skill bars with full color customizations and responsive layout.
https://crisboarna.github.io/react-skillbars
MIT License
23 stars 13 forks source link

Animation not working, cannot tell page location if using anchors #201

Closed tariqhirji closed 2 years ago

tariqhirji commented 2 years ago

I am having an issue where the animation will play smoothly while scrolling down and finding the skill bars on its own, but if I use an anchor text to relocate on the page, then the bars will not animation even if they are in the middle of the screen. This seems to correspond to previous issues where different users are not seeing animations in certain elements of the page (@199/@200).

crisboarna commented 2 years ago

Hi,

As mentioned in #199 , using IntersectionObserver should handle the edge case scenarios being a standardized API for this.

Hopefully you will try it out in a future project of yours :)