We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minIndex
maxIndex
decrementPage
true
decrementPage(true)
const myTVEventHandler = evt => { const pager = pagerRef.current console.log(evt.eventType, pager) if (evt.eventType === 'right') { pager.incrementPage(true) } else if (evt.eventType === 'left') { pager.decrementPage(true) } } useTVEventHandler(myTVEventHandler) ... <InfinitePager key={`infinite-pager-${preset}`} ref={pagerRef} renderPage={renderPage} style={styles.flex} vertical={true} minIndex={0} maxIndex={10} gesturesDisabled={true} pageWrapperStyle={styles.flex} preset={preset} pageBuffer={4} />
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected
minIndex
andmaxIndex
eg. if min was 0 and youdecrementPage
then it would land on themaxIndex
true
todecrementPage(true)
doesn't seem to put the animation in. Only seems to work with gestures.Actual
The text was updated successfully, but these errors were encountered: