Skip to content

feat: preventBubbling is optional#337

Open
apostololeg wants to merge 2 commits into
preactjs:mainfrom
apostololeg:3.0.0_bubbling
Open

feat: preventBubbling is optional#337
apostololeg wants to merge 2 commits into
preactjs:mainfrom
apostololeg:3.0.0_bubbling

Conversation

@apostololeg

Copy link
Copy Markdown

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
Copy Markdown
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