mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c429ee9974
Summary: Changelog: [internal] Fabric's ScrollView was ignoring value of `ScrollView.contentInsetAdjustmentBehavior`, this diff fixes that. Reviewed By: shergin Differential Revision: D23102235 fbshipit-source-id: 8cf42e730b560a21d56d7e007059109ccd01154e
28 lines
584 B
C++
28 lines
584 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
enum class ScrollViewSnapToAlignment { Start, Center, End };
|
|
|
|
enum class ScrollViewIndicatorStyle { Default, Black, White };
|
|
|
|
enum class ScrollViewKeyboardDismissMode { None, OnDrag, Interactive };
|
|
|
|
enum class ContentInsetAdjustmentBehavior {
|
|
Never,
|
|
Automatic,
|
|
ScrollableAxes,
|
|
Always
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|