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

Changing groupStyles does not seem to change position of avatar in message group

Open ndrabins opened this issue 3 years ago • 0 comments

Describe the bug Grouping messages by user always has avatar at the bottom of the message group.

Even when setting props according to documentation.

** Environment **

  • stream-chat-expo: 4.14.0
  • expo - 46
  • IOS & android

To Reproduce On <MessageSimple /> enableMessageGroupingByUser={true} groupStyles={["top"]} (or any opton)

Also have enableMessageGroupingByUser={true} on channel component.

Expected behavior Message avatar would be at the top of message group

Additional context The "groupStyles" prop does not seem to do anything when changing the option. Not sure if this is because the code is expecting a value but the type needs to be passed as an array like ['top' or what. Currently I have not been able to get it to work when changing to any groupStyles value ('top'|'single'|'bottom'|'middle')

ndrabins avatar Aug 12 '22 15:08 ndrabins