Skip to content

Conversation

@trueadm
Copy link
Contributor

@trueadm trueadm commented Apr 11, 2019

This PR adds preventDefault handling for <a> tag to the Press event responder module. The behaviour takes into account keyboard modifiers (shift, control and command). It also allows a low-level bypass for when anchor tags should not be default prevented via the preventDefault prop.

Ref #15257

@trueadm trueadm merged commit c984100 into facebook:master Apr 11, 2019
@trueadm trueadm deleted the prevent-default-anchors branch April 11, 2019 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants