Resume keyboard tracking on mount (#6874)
This commit is contained in:
parent
3e48e47282
commit
aff0de5a13
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue