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

Fails on touchscreen laptops #19

Closed
tD3rk opened this issue Mar 16, 2013 · 2 comments
Closed

Fails on touchscreen laptops #19

tD3rk opened this issue Mar 16, 2013 · 2 comments

Comments

@tD3rk
Copy link

tD3rk commented Mar 16, 2013

Tooltipster detects touch screen devices by testing for ontouchstart support and then binding only touchstart for showing tooltips. I think this is the wrong approach: if you're using a laptop with a touchscreen the plugin is going to fail while using a touchpad or mouse, which is a showstopper.

Replacing all references to touchstart with click would be one solution.

@calebjacob
Copy link
Owner

That's a very good point. The original reasoning behind binding to touch events was to avoid that 300ms delay when using the click event on touch devices. As you pointed out though, click events all around is the way to go.

@calebjacob
Copy link
Owner

Detection is smarter now between touch/non-touch devices.

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

No branches or pull requests

2 participants