Skip to content

Commit

Permalink
Fix WebView automaticallyAdjustContentInsets error
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jordanna authored and oss sync committed Apr 12, 2015
1 parent 9f2d75e commit 2c936a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion React/Views/RCTWebViewManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ - (UIView *)view
RCT_REMAP_VIEW_PROPERTY(url, URL, NSURL);
RCT_REMAP_VIEW_PROPERTY(html, HTML, NSString);
RCT_EXPORT_VIEW_PROPERTY(contentInset, UIEdgeInsets);
RCT_EXPORT_VIEW_PROPERTY(automaticallyAdjustContentInsets, UIEdgeInsets);
RCT_EXPORT_VIEW_PROPERTY(automaticallyAdjustContentInsets, BOOL);
RCT_EXPORT_VIEW_PROPERTY(shouldInjectAJAXHandler, BOOL);

- (NSDictionary *)constantsToExport
Expand Down

0 comments on commit 2c936a0

Please sign in to comment.