stream-chat-react-native
stream-chat-react-native copied to clipboard
Gallery component doesn't override message from props
Describe the bug
ZD ticket https://getstream.zendesk.com/agent/tickets/25050
Architectural design of our component is such that they access required values from contexts but those values can be overriden from props if needed. In this particular case, Gallery component uses message from MessageContext, but message is missing in its prop. So there is no way to override the underlying message in Gallery component.
I am marking this as bug since it goes against our intention of component designs and seems like something we missed.
Dev environment info (please complete/provide the following information):
- Package version (stream-chat-react-native/stream-chat-expo) v4