목록2024/09/11 (1)
개발일지
React Navigation - native-stack 뒤로가기 방지 오류
React Navigation의 native stack을 활용하여 네비게이션을 사용중이었는데, 공식문서에 나와있는 것처럼 뒤로가기 방지 설정을 해주었는데도 방지가 안되고 뒤로가기가 잘 되고 해당 에러를 뱉었다. 아무래도 e.preventDefault() 함수가 작동하지 않아 발생하는 것 같다. The screen ... was removed natively but didn't get removed from JS state.This can happen if the action was prevented in a 'beforeRemove' listener, which is not fully supported in native-stack.Consider using 'gestureEnabled: false' to..
개발일지/React-Native
2024. 9. 11. 19:06