preact-router
preact-router copied to clipboard
feat: preventBubbling is optional
trafficstars
Hi there!
I moved from react to preact and detect that my autoClose-feature in Popup was broken.
I discover that preact-router are preventing event bubbling when clicking on <Link/>.
I wonder to ask you – what prompted you to do this❓🙂
Anyway, I made this PR in case if you(like me) will decide to move this feature from default to optional.
Hi @apostololeg! I think we could actually just remove the bubbling prevention. preact-router is only replacing the default behavior, so it should really only be preventing default, not bubbling.
Want to update this PR?