Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return values of event handlers #2

Closed
migerh opened this issue Jun 6, 2012 · 0 comments
Closed

return values of event handlers #2

migerh opened this issue Jun 6, 2012 · 0 comments
Assignees
Labels
Milestone

Comments

@migerh
Copy link
Member

migerh commented Jun 6, 2012

We don't need preventDefault() and return false in every case, sometimes it would be better to return true and to not prevent default browser actions, e.g. on touch devices when the user wants to scroll the page and touches the board but no objects or if there's a button on the board the user can click.

As sometimes this behaviour might not be desired, it should be configurable via board options.

@ghost ghost assigned migerh Jun 13, 2012
@migerh migerh closed this as completed in 324f7c6 Jul 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant