Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Conversation

@arv
Copy link

@arv arv commented Jul 9, 2014

Use preventDefault in mousedown instead of mutating the style

@arv arv mentioned this pull request Jul 9, 2014
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could not think of a valid reason why this needs to ever be false.

Use preventDefault in mousedown instead of mutating the style
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was surprised that we do not use leading/trailing underscores for these. They are clearly not part of any public API and it would be nice if we could mark them as such.

@arv arv added cla: yes and removed cla: no labels Jul 9, 2014
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is better to use on-down here for both mouse and touch events

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants