Skip to content
New issue

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

Looping? #14

Open
deehuey opened this issue Oct 21, 2017 · 4 comments
Open

Looping? #14

deehuey opened this issue Oct 21, 2017 · 4 comments

Comments

@deehuey
Copy link

deehuey commented Oct 21, 2017

I don't see any options for looping the pages. (4 -> 1 -> 2 -> 3 -> 4 -> 1...ad infinitum) Is this a possible feature? Here's hoping 👍

Fantastic work on this library, I tried 5 others and this one was the easiest drop-in and provided most flexibility!

🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥

🙃
Thanks-Dan

@n4kz
Copy link
Owner

n4kz commented Oct 30, 2017

Thanks for feature request, no quick solution here. I'll try to find one for next major release.

@AlertColby
Copy link

I encountered the error that unsupported top level event type "topScroll" dispatched when I added Pages to my Tabnavigator.
the Pages of use ,

render() {
        return (
            <View style={ styles.container } >
                <View style={ styles.title } >
                  <Text style={ styles.signIn } >签到</Text>
                  <Text style={{borderStyle: 'solid'}} >首页</Text>
                  <View style={  styles.titleRight } >
                    <Text style={ styles.scan} >扫一扫</Text>
                    <Text style={ styles.message } >消息</Text>
                  </View>
                </View>
                <View style={ styles.line } />
                <View style={ styles.viewpagerWidthHeight} >
                <Pages
                  onScrollEnd = {this._callbackPagesScrollEnd}
                  >
                    {this._renderViewPager(this.IMGS)}
                  </Pages>
                </View>
            </View>

        );
    }

I don't know why 。
Looking forward to your answer,Thanks.

@n4kz
Copy link
Owner

n4kz commented Nov 24, 2017

@AlertColby thank you for question, topScroll crash is related to facebook/react-native#16522 and probably will be fixed in next major RN release. However previous releases should not be affected and you can consider temporary downgrade to 0.49.x or upgrade to rc version as possible solutions.

@DavoCg
Copy link

DavoCg commented Dec 5, 2017

Anyone have a solution for the looping ? this library is really nice for the Animated progress (versus react-native-swiper) but I really think this is an important missing feature :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants