Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

fix: long-press closes popups and light sliders immediately #489

Merged
merged 6 commits into from
Oct 19, 2020

Conversation

akloeckner
Copy link
Contributor

fixes #405
closes #407

Thought, I'd share this. It has been running here for quite some time and fixes some annoying issues. I know, it is not as full-blown as #407. But it works. And #407 hasn't seen much progress lately. The down-side of this fix is, that we really cannot click in the region of a long-press for some fixed timeout.

using the fix from here: https://gist.github.com/jtangelder/361052976f044200ea17
as suggested by hammer.js here: https://hammerjs.github.io/tips/

@rchl
Copy link
Collaborator

rchl commented Oct 19, 2020

Just cleaned up a little and rebased to master (as otherwise, popup was failing to open).

I'm fine with this one. :)

@rchl rchl changed the title fix: long-press emitting ghost clicks and thus closing popups and light sliders immediately fix: long-press closes popups and light sliders immediately Oct 19, 2020
@rchl rchl merged commit 492895b into resoai:master Oct 19, 2020
@rchl rchl added the hacktoberfest-accepted Accept for Hacktoberfest label Oct 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
hacktoberfest-accepted Accept for Hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

popup closing immediately
2 participants