Skip to content

Conversation

apostololeg
Copy link

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.

@developit
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants