stream-chat-react-native icon indicating copy to clipboard operation
stream-chat-react-native copied to clipboard

Extra spacing around gallery when both images and files are attached in a message

Open vishalnarkhede opened this issue 3 years ago • 4 comments

Describe the bug

When you attach a file and images in same message, layout of gallery seems broken a bit.

Two Image Single Images
simulator_screenshot_13A915F0-5DC8-4AFE-A1FC-1AD490FD6922 simulator_screenshot_0F582597-8A81-4820-9686-56D114FC6AAD

Dev environment info (please complete/provide the following information):

  • stream-chat-react-native/stream-chat-expo v4
  • Device/Emulator (android/ios) and OS version: Both

To Reproduce Steps to reproduce the behavior:

  1. Enable CDN v2 for your app (contact @vishalnarkhede for this).
  2. Go to some channel
  3. Attach an image and a file in a message
  4. Send a message
  5. You can see the extra spacing around gallery

vishalnarkhede avatar May 23 '22 13:05 vishalnarkhede

@vishalnarkhede just to clarify for the one who will pick it up, how shall we fix this? make sure the image uses the full width of the gray view?

vanGalilea avatar May 24 '22 07:05 vanGalilea

Let's center the images and validate with Francesco

vanGalilea avatar Jun 21 '22 08:06 vanGalilea

Hey team! Please add your planning poker estimate with ZenHub @Enigma-I-am @khushal87 @madsroskar @santhoshvai @vishalnarkhede

vanGalilea avatar Jun 21 '22 08:06 vanGalilea

Hello, I am also facing this issue. Is there a solution for this?

robertmunceanu avatar Apr 19 '24 06:04 robertmunceanu