Closed moazelsawaf closed 1 year ago
Based on the behavior you described, it seems to be a bug.
The onClick()
callback should be triggered in correspondence with the onUp()
method, unless the user has moved their finger before releasing the bubble. I'll look into it further.
Thank you! π
The issue is now gone in v0.5.2
If you have any further concerns, don't hesitate to reopen the issue.
Cheers πΊπ»
I have tested the issue against v0.5.2
and it is solved πͺπ»
Thank you so much ππ»β€
Hello @TorryDo β€
I was implementing some logic in the
FloatingBubbleListener
callbacks but I have observed a behavior which I wanted to ask about.When I tap on the bubble, the
onDown()
callback is called instantly as intended, but if I released my finger quickly from the bubble, theonClick()
callback would be fired whileonUp()
is not.If I tapped on the bubble and waited for a very short time (~1 sec), then the
onDown()
callback would be called without any issues as in the past case, but theonUp()
callback would be called whileonClick()
not.Here is the output for both scenarios for logging a statement in each mentioned callbacks:
First Scenario:
Second Scenario:
So is it an intended behavior or it is a bug? π€
Thanks in advance β€