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

Gallery component doesn't override message from props

Open vishalnarkhede opened this issue 3 years ago • 0 comments

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

vishalnarkhede avatar Aug 04 '22 09:08 vishalnarkhede