andreamazz / andreamazz/AMPopTip

shouldDismissOnSwipeOutside is not working

Offen
#216 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Swift
Sterne
3.3k
Forks
449
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hello, first of all thanks for your work and framework!
There is an issue with swipe outside tooltip.
I have a screen with tableview (Not tableview controller, just view controller with tableview inside).

I'm showing a tooltip on this screen's view. Enabling swipe directions to `up` and `down`, `shouldDismissOnSwipeOutside` to true as a `PopTip` init. Also, from a similar issue I've used fix with setting gestureDelegates to view and `shouldRecognizeSimultaneouslyWith` to return `true`. And it's working, but not as expected. PopTip disappears correctly if user will wait until animation ends, but, if user will scroll before it's end — then `PopTip` wouldn't be hidden.

As a possible solution — I'm disabling the animation, or moving gestureDelegates set outside `PopTip` animated appearance.

Appreciate any help!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.