mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Fix ScrollView logspew
Summary: There was an inverted expression leading to logspew. Fix this. Reviewed By: TheSavior Differential Revision: D8758023 fbshipit-source-id: 7a83c68db6c95f2b5db6dcc7d7780fc66321b49e
This commit is contained in:
committed by
Facebook Github Bot
parent
604bcfa4a8
commit
b99609e9d2
@@ -774,7 +774,7 @@ const ScrollView = createReactClass({
|
||||
ScrollViewClass = RCTScrollView;
|
||||
ScrollContentContainerViewClass = RCTScrollContentView;
|
||||
warning(
|
||||
this.props.snapToInterval != null || !this.props.pagingEnabled,
|
||||
this.props.snapToInterval == null || !this.props.pagingEnabled,
|
||||
'snapToInterval is currently ignored when pagingEnabled is true.',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user