Thanks to visit codestin.com
Credit goes to github.com

Skip to content

e.preventDefault on custom events does not carry into base event #23

@ldoubleuz

Description

@ldoubleuz

When I have a listener function for a custom event such as "tapstart", e.preventDefault does not work as intended, and users must explicitly call e.baseEvent.preventDefault.

This could easily be a point of confusion, and also breaks backwards compatibility with older code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions