react-native-keyboard-avoider icon indicating copy to clipboard operation
react-native-keyboard-avoider copied to clipboard

Add support for React 18.*

Open RodolfoSilva opened this issue 2 years ago • 5 comments

Hey @iway1 thanks for this package.

Do you have plan to add support for react 18? RIght now the NPM is complaining about the version required by the package.

➜  mobile git:(main) npm i @good-react-native/keyboard-avoider
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.0" from @good-react-native/[email protected]
npm ERR! node_modules/@good-react-native/keyboard-avoider
npm ERR!   @good-react-native/keyboard-avoider@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Note: I know i can just use the flag to force the installations, but this not sounds right.

RodolfoSilva avatar May 27 '23 12:05 RodolfoSilva

@ iway1 This library looks very promising, but it hasn't gotten much love recently. Would you say it's still actively maintained?

sreuter avatar Jul 13 '23 06:07 sreuter

@ iway1 This library looks very promising, but it hasn't gotten much love recently. Would you say it's still actively maintained?

I have same question but If nobody replied since july to you, maybe not :(

SoyDiego avatar Sep 29 '23 16:09 SoyDiego

Yeah that would be really awesome, same issue....

Kioshia avatar Apr 21 '25 18:04 Kioshia

I’ve opened a PR to fix this issue: https://github.com/iway1/react-native-keyboard-avoider/pull/15. Please take a look when you have a moment. Thanks!

jaroslawfrydrych avatar Jun 04 '25 10:06 jaroslawfrydrych

@jaroslawfrydrych my suggestion is to replace this library with react-native-keyboard-controller.

RodolfoSilva avatar Jun 04 '25 10:06 RodolfoSilva