You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that infinite loading occurs when using e.preventDefault() or e.stopPropagation() inside onClick events inside the children of a Link.
When a button inside a link is clicked, if that button has stopPropagation() or preventDefault() in the handler, the toploader will just load to infinity and never stop even though the navigation will never happen.
Is there a way to prevent this or a different approach is needed when using preventDefault and stopPropagation?
The text was updated successfully, but these errors were encountered:
Hi,
I've noticed that infinite loading occurs when using e.preventDefault() or e.stopPropagation() inside onClick events inside the children of a Link.
When a button inside a link is clicked, if that button has stopPropagation() or preventDefault() in the handler, the toploader will just load to infinity and never stop even though the navigation will never happen.
Is there a way to prevent this or a different approach is needed when using preventDefault and stopPropagation?
The text was updated successfully, but these errors were encountered: