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

WebView example doesn't work: automaticallyAdjustContentInsets error #251

Closed
cmcewen opened this issue Mar 26, 2015 · 1 comment · Fixed by #314
Closed

WebView example doesn't work: automaticallyAdjustContentInsets error #251

cmcewen opened this issue Mar 26, 2015 · 1 comment · Fixed by #314
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@cmcewen
Copy link
Contributor

cmcewen commented Mar 26, 2015

Steps to reproduce:

  • clone repo
  • run UIExplorer demo
  • click on WebView in the list

Error:
[RCTLog][tid:0x7fe1bbc40410][RCTConvert.m:149]>Expected NSArray or NSDictionary for UIEdgeInsets, received __NSCFBoolean: 0

Fix (temporarily):

  • delete automaticallyAdjustContentInsets={false}
@lwansbrough
Copy link
Contributor

+1

Use contentInset's value in place of automaticallyAdjustContentInsets's value for now. Obviously this will break once this is fixed though, only use this if you need to adjust the content inset right now.

jordanna added a commit to jordanna/react-native that referenced this issue Mar 27, 2015
vjeux pushed a commit to vjeux/react-native that referenced this issue Apr 13, 2015
Summary:
WebView component's automaticallyAdjustContentInsets prop should be type BOOL. Fixes facebook#251.
Closes facebook#314
Github Author: Jordanna Kwok <jordannakwok@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
vjeux pushed a commit to vjeux/react-native that referenced this issue Apr 14, 2015
Summary:
WebView component's automaticallyAdjustContentInsets prop should be type BOOL. Fixes facebook#251.
Closes facebook#314
Github Author: Jordanna Kwok <jordannakwok@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
vjeux pushed a commit to vjeux/react-native that referenced this issue Apr 15, 2015
Summary:
WebView component's automaticallyAdjustContentInsets prop should be type BOOL. Fixes facebook#251.
Closes facebook#314
Github Author: Jordanna Kwok <jordannakwok@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 23, 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

Successfully merging a pull request may close this issue.

3 participants