diff --git a/TODO b/TODO deleted file mode 100644 index b489e7c0ea..0000000000 --- a/TODO +++ /dev/null @@ -1,30 +0,0 @@ -- (x) iOS implementation -- (x) incorrect positioning of elements - why view can be stretched to full screen? -- (x) why justifyContent: "center" and flex: 1 doesn't work - first view must be without a style because otherwise styling is kind of conflicting with native styles -- (x) react-native-gesture-handler on Android - GestureHandlerRootView -- (x) Android hot reloading <- pass all events from HostView to underlying view + visible property -- (x) docs -- (x) lottie animation - -### Docs - -- landing page - create immersive keyboard experience: draw over and behind the keyboard to deliver best possible user experience to your application without keyboard shuttering and annoying jumps -- add to comparison to reanimated - -### E2E - -- (x) e2e tests -- (x) fix freeze on iOS (Main thread is always busy, why?) - synchronization can be disabled -- (-) buttons can not be pressed on iOS <- submit issue to detox - -### Bugs - -- (x) handle touches on iOS <- used `RCTTouchHandler` -- (x) overlap navigationBar on Android -- (x) cleanup Android implementation (create 3 separate files) -- (x) crash on Android when you tap outside of `Touchable` area <- wrap with `TouchableWithoutFeedback` -- (x) stretch view to full screen (iOS)/ {flex: 1} - we can specify window/height manually in JS? Do we need to have a fix on Android then? (yes, otherwise nav bar may not be covered and click in this area will lead to crash) -- (x) Fabric Android -- (x) Fabric iOS -- (x) iOS hot reload -- (x) iOS + gesture handler - hitTest must be implemented diff --git a/docs/docs/recipes/architecture.mdx b/docs/docs/recipes/architecture.mdx index 30378fe84b..27667d448d 100644 --- a/docs/docs/recipes/architecture.mdx +++ b/docs/docs/recipes/architecture.mdx @@ -48,6 +48,7 @@ While both `useAnimatedKeyboard` from `react-native-reanimated` and this library |Works in `Modal` on Android|✅|🟠 2|| |Is ready-to-use library for keyboard avoidance3|✅|❌| |`KeyboardToolbar` component|✅|❌| +|`OverKeyboardView` component|✅|❌| > 1 You need to unmount all components that use `useAnimatedKeyboard` diff --git a/ios/views/OverKeyboardViewManager.mm b/ios/views/OverKeyboardViewManager.mm index 0dd50032e7..b16459a10f 100644 --- a/ios/views/OverKeyboardViewManager.mm +++ b/ios/views/OverKeyboardViewManager.mm @@ -81,7 +81,7 @@ + (void)load [super load]; // Eagerly initialize the observer - [UIWindow sharedKeyboardWindowObserver]; + (void)[UIWindow sharedKeyboardWindowObserver]; } // MARK: Constructor