We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9aad53 commit b026accCopy full SHA for b026acc
src/calendar-list/index.js
@@ -27,6 +27,9 @@ class CalendarList extends Component {
27
28
// Enable or disable vertical scroll indicator. Default = false
29
showScrollIndicator: PropTypes.bool,
30
+
31
+ // When true the scroll view scrolls to top when the status bar is tapped
32
+ scrollsToTop: PropTypes.bool
33
};
34
35
constructor(props) {
@@ -178,6 +181,7 @@ class CalendarList extends Component {
178
181
keyExtractor={(item, index) => index}
179
182
initialScrollIndex={this.state.openDate ? this.getMonthIndex(this.state.openDate) : false}
180
183
getItemLayout={this.getItemLayout}
184
+ scrollsToTop={this.props.scrollsToTop}
185
/>
186
);
187
}
0 commit comments