You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: