stream-chat-react-native
stream-chat-react-native copied to clipboard
The order in the Gallery is incorrect
The order in the GallerGallery is incorrect
Example: Upload 4 images. On the message list, the 4 images appear.
First bug: If we click on image number 2 then it is not the image 2 that appears in the ImageGallery. It always displays the image 4/4.
Second bug: When we click on an image then it opens the ImageGallery at the last position. Why the last position?
Third bug: If we upload 4 images, then when we click on one of the images for opening the ImageGallery then the first image uploaded is at the position fort (last). It has to be first
Expected behavior When we upload several images ( like 4), then if we click the first image for opening the ImageGallery then the ImageGallery has to
- Display the selected image
- If the image selected is the number one then it has to be the first in the image gallery
- The first image uploaded has to be first all time
Hi, thanks for reporting the issue. I've tested this on my end, and to summarize:
- Images in the gallery are being rendered in the opposite order than in the preview in the MessageList
- No matter which image you select, it's always the last image of the list that opens first.
Hey team! Please add your planning poker estimate with ZenHub @Enigma-I-am @khushal87 @madsroskar @santhoshvai @vishalnarkhede
I am also facing this issue along with inconsistencies with swiping. I created a new issue here and added a screen recording - https://github.com/GetStream/stream-chat-react-native/issues/1627