Chipsa Posted June 22, 2021 Share Posted June 22, 2021 Hello there, I have some problem with chain of triggers, for example I have callback on Y position 1000, and trigger that depends from first trigger on Y 2000, if page loaded on Y 1500, second trigger doesn't fire, I understand why this happened, but can I fire all triggers from Y 0 to position where document loaded? Sometimes if scroll going to fast triggers doesn't fire at all, specially if I use anchor links, is it real, or I have broken something else? Link to comment Share on other sites More sharing options...
_Greg _ Posted June 22, 2021 Share Posted June 22, 2021 Hi @Chipsa! Please create a minimal demo on codepen its hard to answer without any code. 1 Link to comment Share on other sites More sharing options...
Chipsa Posted June 22, 2021 Author Share Posted June 22, 2021 4 minutes ago, _Greg _ said: Hi @Chipsa! Please create a minimal demo on codepen its hard to answer without any code. Don't sure which part of my code can be minimal demo, just abstract example where I need to trigger all triggers before current scroll position and fire all callbacks it's not enough? Link to comment Share on other sites More sharing options...
_Greg _ Posted June 22, 2021 Share Posted June 22, 2021 1 minute ago, Chipsa said: it's not enough I don't see any problem with this. You can hire onLeave callback 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now