Skip to content

Use event.preventDefault instead of return false#2

Open
gbakernet wants to merge 1 commit intobenhuson:masterfrom
gbakernet:master
Open

Use event.preventDefault instead of return false#2
gbakernet wants to merge 1 commit intobenhuson:masterfrom
gbakernet:master

Conversation

@gbakernet
Copy link

return false is stopping the event propagation and bubbling. This means that we can't add addtional event handlers to the elements.

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.

1 participant