File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/uikit-react-native/src/domain/groupChannel/component Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,9 @@ const GroupChannelMessageList = (props: GroupChannelProps['MessageList']) => {
298
298
const foundUnreadFirstMessage = findUnreadFirstMessage ( true ) ;
299
299
processNewLineVisibility ( foundUnreadFirstMessage ) ;
300
300
setUnreadFirstMessage ( foundUnreadFirstMessage ) ;
301
+ if ( ! props . scrolledAwayFromBottom ) {
302
+ scrollToBottom ( true ) ;
303
+ }
301
304
break ;
302
305
}
303
306
}
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import { uikitLocalConfigStorage } from '../factory/mmkv';
5
5
const KEY = 'uikitOptions' ;
6
6
const defaultOptions = {
7
7
rtl : false ,
8
- replyType : 'thread ' as 'none' | 'thread' | 'quote_reply' ,
9
- threadReplySelectType : 'thread ' as 'thread' | 'parent' ,
8
+ replyType : 'quote_reply ' as 'none' | 'thread' | 'quote_reply' ,
9
+ threadReplySelectType : 'parent ' as 'thread' | 'parent' ,
10
10
} ;
11
11
12
12
type ContextValue = typeof defaultOptions ;
You can’t perform that action at this time.
0 commit comments