Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyboardAvoidingView Warnings #14692

Closed
Ethan0007 opened this issue Jun 23, 2017 · 7 comments
Closed

KeyboardAvoidingView Warnings #14692

Ethan0007 opened this issue Jun 23, 2017 · 7 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@Ethan0007
Copy link

Hi,

I'm using 0.43 react-native it shows warnings when I used KeyboardAvoidingView in my login form.

image

Please be advised.

#Thanks

@hramos hramos closed this as completed Jun 26, 2017
@DealPete
Copy link

Why was this closed? I'm getting the warnings too. From looking at the source, it appears that KeyboardAvoidingView uses deprecated react-native features.

@Ethan0007
Copy link
Author

@DealPete sir, i have a temporary fix on this by adding the this line of code:
console.disableYellowBox = true

@carlesnunez
Copy link

Same problem here.

Disabling yellow box is not the clean way OFC, we need some feedback here please.

@yidc
Copy link

yidc commented Jul 6, 2017

Is this a bug report?

Yes

Have you read the Bugs section of the Contributing to React Native Guide?

Yes, not stating anything about KeyboardAvoidingView

Environment

react-native -v: v0.45.1
node -v: v6.11.0
npm -v: v5.0.3
yarn --version (if you use Yarn): v0.24.6
Target Platform: iOS
Development Operating System: macOS Sierra
Build tools: VisualStudio Code v.13.1
Steps to Reproduce

  1. Start any react-native project that uses KeyboardAvoidingView component inside
  2. react-native run-ios --configuration Debug
  3. then the warning message is displayed at the screen bottom

Expected Behavior

No warning message related to using KeyboardAvoidingView component should appear

Actual Behavior

screen shot 2017-07-07 at 21 59 23
screen shot 2017-07-07 at 22 07 27
screen shot 2017-07-07 at 22 07 39

Reproducible Demo

https://gist.github.com/spencercarli/dc5d8ea9eafb8a0aaa8f83b2f08d874d#file-keyboardavoidingview-js

  1. start a react-native project with this .js file
  2. react-native run-ios --configuration Debug
  3. then the warning message is displayed at the screen bottom

@hramos
Copy link
Contributor

hramos commented Jul 7, 2017

It looks like the description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.

Feel free to open a new issue with the additional information provided. Thanks!

@yidc
Copy link

yidc commented Jul 7, 2017

Another similar thread has mentioned that this will be fixed on 0.46, so I will just ignore this from now...

@Ethan0007
Copy link
Author

Ethan0007 commented Jul 25, 2017

Hi,

I think this is related to this issue and its already fixed in this release.

#14381
a975c1e

@facebook facebook locked as resolved and limited conversation to collaborators Jun 26, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants