Make the tapping on the message bubble returns more meaning details #664
Unanswered
realvee
asked this question in
Ideas & Requests
Replies: 2 comments
-
thanks for the suggestion! will add in |
Beta Was this translation helpful? Give feedback.
0 replies
-
not closing because I need first to add to backlog so I don't forget :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem?
I think it'd be more flexible for us if the tapping on the bubble can return position of each bubble, so we can know which bubble is touched on -- so we can play around that.
What solution would you suggest?
Return TapDownDetails and LongPressStartDetails for each event on GestureDetector for the bubble
Is there any additional solution to that?
Nope
Extras
Screenshots or videos 📸
If applicable, add screenshots or videos to help explain your feature.
Code snippets 📝
Instead of using the tap events :
onDoubleTap: () => onMessageDoubleTap?.call(context, message),
onLongPress: () => onMessageLongPress?.call(context, message),
onTap: () => onMessageTap?.call(context, message),
I did replace these to :
onDoubleTapDown: (details) => onMessageDoubleTap?.call(context, message, details),
onLongPressStart: (details) => onMessageLongPress?.call(context, message, details),
onTapDown: (details) => onMessageTap?.call(context, message, details),
We might need to follow to edit some few more lines to correspond to the changes.
Beta Was this translation helpful? Give feedback.
All reactions