You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... will break list on iOS devices after deleting the only last thread message.
Broken.flash.list.mp4
If wait a bit we will get an infinite loop and a warning in console:
Message pagination request failed with error [Error: StreamChat error code 9: GetReplies failed with error: "Too many requests, check response headers for more information."]
After removing maintainVisibleContentPosition styles in MessageList.tsx file -> issue will be gone.
Issue
Adding
deletedMessagesVisibilityType={'never'}
to Channels component...stream-chat-react-native/examples/ExpoMessaging/app/channel/[cid]/thread/[cid]/index.tsx
Lines 16 to 27 in 4912ce9
return ( <SafeAreaView> <Stack.Screen options={{ title: 'Thread Screen' }} /> <Channel audioRecordingEnabled={true} channel={channel} keyboardVerticalOffset={headerHeight} thread={thread} threadList + deletedMessagesVisibilityType={'never'} >
... will break list on iOS devices after deleting the only last thread message.
Broken.flash.list.mp4
If wait a bit we will get an infinite loop and a warning in console:
After removing
maintainVisibleContentPosition
styles inMessageList.tsx
file -> issue will be gone.stream-chat-react-native/package/src/components/MessageList/MessageList.tsx
Lines 1228 to 1245 in e2a01e9
Steps to reproduce
Steps to reproduce the behavior:
etc...
Expected behavior
User should not see any UI glitches, infinite scroll event and there should be no
pagination request failed with error
warnings.OK.mp4
Project Related Information
Customization
Click To Expand
Offline support
Environment
Click To Expand
package.json
:# N/A
react-native info
output:stream-chat-react-native
version you're using that has this issue:e.g. 5.4.3
e.g. Android 10
e.g. iPhone 11
Additional context
Screenshots
Click To Expand
Broken.flash.list.mp4
The text was updated successfully, but these errors were encountered: