react-native-context-menu-view icon indicating copy to clipboard operation
react-native-context-menu-view copied to clipboard

ideal for custom reaction Preview view

Open fukemy opened this issue 2 years ago • 9 comments

Hi, thanks you very very great and useful library, im using it's and it's display very great with IOS

Now i want to implement some react button, like message app, as u can see here

104658907-587c9500-5689-11eb-86ab-4a9c723edd82

In ios, im using customPreview to show it, like: preview

But im not familiar with rn to done it here, can u help?

fukemy avatar Apr 29 '22 16:04 fukemy

h IMG_1191 i, i found telegram did it's and very nice UI :

I think the way is same as my ideal

fukemy avatar Jun 12 '22 04:06 fukemy

You should just be able to add that to the custom preview

mpiannucci avatar Jun 12 '22 16:06 mpiannucci

@mpiannucci I now see the custom preview prop in code. Could we add it to the README?

However, it seems that the container styling for the preview must be the same as children. So in the example above and most cases, it just doesn't work as expected. For ex: the reaction/emoji container above has to be the same height/width as the message bubble.

Would love to have this feature! I think a lot of React Native users would use this package for reactions if this separate styling issue was resolved and preview was added to the docs for visibility

Thanks for your awesome work :)

tsalama avatar Nov 15 '22 18:11 tsalama

Interesting, I'd love to see example code to give me a better idea of the issue with the current state, i think I get it but it's a little hard to picture

mpiannucci avatar Nov 15 '22 18:11 mpiannucci

I decided to using stream chat. Its provide all view I need

fukemy avatar Nov 16 '22 11:11 fukemy

Hi, i'm interested on this feature, it would be like an extra subview. It would be nice to align actions up/down left/right. My background transparent isn't transparent at 100%.

Congrats @mpiannucci.

chermoso avatar Feb 14 '23 11:02 chermoso

Hi,Im interested in this feature, not sure we can able to add the reaction view yet?

khacbac avatar Nov 03 '23 14:11 khacbac

Any updates of this?

Skr1pt1k avatar Feb 29 '24 07:02 Skr1pt1k