-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e.preventDefault() does not prevent animation #50
Comments
This is happening in my code |
#37 (comment) you can use I've since created my own top loader: https://github.com/tomcru/holy-loader |
I confirm that it works nice using both like this: event.preventDefault();
event.nativeEvent.stopImmediatePropagation(); |
bootleq
added a commit
to bootleq/feeders
that referenced
this issue
Dec 15, 2024
The preventDefault handling is broken since introduce TopLoader, causes the TopLoader progress bar appears, without ending. Solution is to stop propagation on native event TheSGJ/nextjs-toploader#50
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
In a nested button inside a
Link
, if you callpreventDefault
, it does not prevent the animation.Regards
The text was updated successfully, but these errors were encountered: