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

Fix bug: scrolling time div on touchscreens #479

Merged
merged 1 commit into from Jun 16, 2016
Merged

Fix bug: scrolling time div on touchscreens #479

merged 1 commit into from Jun 16, 2016

Conversation

anton-bot
Copy link
Contributor

On touchscreens, the default datetimepicker closes unexpectedly when trying to scroll on the time picker. This is because scrolling triggers touchend event, just like clicking.

To fix, we use the touchmove event to determine that we are scrolling, not clicking, using a global variable.

On touchscreens, the default datetimepicker closes unexpectedly when trying to scroll on the time picker. This is because scrolling triggers touchend event, just like clicking. 

To fix, we use the touchmove event to determine that we are scrolling, not clicking, using a global variable.
@xdan xdan merged commit 428499a into xdan:master Jun 16, 2016
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.

None yet

2 participants