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

Optimize touch events #397

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Optimize touch events #397

wants to merge 4 commits into from

Conversation

ktmud
Copy link

@ktmud ktmud commented Sep 7, 2015

We don't want the select to happen when users are scrolling the page.

@heyman
Copy link

heyman commented Oct 29, 2015

I can confirm that this patch is working great for me. Makes Pikaday usable on touch devices and, as far as I can tell, doesn't break anything.

Jesse Yang added 4 commits May 30, 2016 11:59
We don't want the select to happen when users are
scrolling the page.
On some touch devices, 'mousedown' event will fire
when your are still holding your fingers.

In Window Phone IE and Android 4.x, this causes select to happen when users
are scrolling the page, which is annoying.
10px is big enough to trigger the scroll of an element.
We certainly don't want to event to fire when the page/div has already scrolled.
@oferRounds
Copy link

Any chance this can be merged?
@Pikady

@live627 live627 mentioned this pull request Aug 5, 2022
4 tasks
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

3 participants