Skip to content

Commit

Permalink
Back out "Fix default value for scrollView.contentInsetAdjustmentBeha…
Browse files Browse the repository at this point in the history
…vior"

Summary:
changelog: [internal]

Original commit changeset: 290ae428a720

Original Phabricator Diff: D37881453 (e98a835)

in the original diff I made a mistake. The default value for RN is never, we override it in one of our subclasses.

Reviewed By: cortinico

Differential Revision: D37884715

fbshipit-source-id: 3c5b5ef5550120034e33ae9047292f38159dea3e
  • Loading branch information
sammy-SC authored and facebook-github-bot committed Jul 15, 2022
1 parent 191eb62 commit bf54f1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ScrollViewProps final : public ViewProps {
bool snapToStart{true};
bool snapToEnd{true};
ContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior{
ContentInsetAdjustmentBehavior::Automatic};
ContentInsetAdjustmentBehavior::Never};
bool scrollToOverflowEnabled{false};

#pragma mark - DebugStringConvertible
Expand Down

0 comments on commit bf54f1c

Please sign in to comment.