react-native-pages icon indicating copy to clipboard operation
react-native-pages copied to clipboard

Looping?

Open deehuey opened this issue 8 years ago • 4 comments

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

deehuey avatar Oct 21 '17 01:10 deehuey

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

n4kz avatar Oct 30 '17 20:10 n4kz

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.

AlertColby avatar Nov 17 '17 03:11 AlertColby

@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.

n4kz avatar Nov 24 '17 10:11 n4kz

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 :(

DavoCg avatar Dec 05 '17 17:12 DavoCg