forked from Ivasoft/mattermost-mobile
Resume keyboard tracking on mount (#6874)
This commit is contained in:
@@ -10,6 +10,10 @@ import NavigationStore from '@store/navigation_store';
|
||||
export const useKeyboardTrackingPaused = (keyboardTrackingRef: RefObject<KeyboardTrackingViewRef>, trackerId: string, screens: string[]) => {
|
||||
const isPostDraftPaused = useRef(false);
|
||||
|
||||
useEffect(() => {
|
||||
keyboardTrackingRef.current?.resumeTracking(trackerId);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
const onCommandComplete = () => {
|
||||
const id = NavigationStore.getVisibleScreen();
|
||||
|
||||
Reference in New Issue
Block a user