v3.12.1
[v3.12.1] (Feb 26, 2024)
Fixes:
-
Added loading status to the
ChannelSettingsmodule and addressed some layout issues -
Added support for multiple lines in the
MessageInputon mobile devices -
Fixed hard-coded text to localization text for uploading file size and count limits
-
Fixed the
MessageListParamstype in theChannelProvider -
Fixed requests for empty image paths during the image optimization process
-
Fixed an infinite loop issue occurring when using the
GroupChannel/components/MessageandChannel/components/Messagecomponents in therenderMessagemethod of theGroupChannelandChannelmodules -
The
renderMessagemethod of theGroupChannelmodule no longer nests messages under theMessagecomponent. If a container element for theMessagecomponent is needed, use it as follows:import { GroupChannel } from '@sendbird/uikit-react/GroupChannel'; import { Message } from '@sendbird/uikit-react/GroupChannel/components/Message'; const GroupChannelPage = () => { return ( <GroupChannel renderMessage={(props) => { return ( <Message message={props.message}> <div>{props.message.messageId}</div> </Message> ) }} /> ) }
-
The
renderMessageprop of theChannel/components/MessageandGroupChannel/components/Messagecomponents has been deprecated. Instead, use thechildrenprop to customize message sub-elements<Message message={props.message}> <div>{props.message.messageId}</div> </Message>
-
Added detailed comments for customizing-related props in the
GroupChannelmodule