RTL Support
UI Components support right-to-left (RTL) languages out of the box. The components can display content in a right-to-left direction and mirror associated UI elements. However, you may want to change the way certain components behave in RTL mode.
MessageComposerView configuration
By default MessageComposerView
determines the input direction based on the first strong directional character. To change the behavior you can override the center content slot of MessageComposerView
. You can check how to override content slots here.
MessageListView configuration
To change RTL support for the messages in the MessageListView
you can use custom view holders with a different text direction. You can check how to implement custom view holders here.
ChannelListView configuration
To change RTL support for the channels in the ChannelListView
you can use custom view holders with a different text direction. You can check how to implement custom view holders here.