react-component / m-picker

React Mobile Picker(web & react-native)

Home Page:http://react-component.github.io/m-picker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RN,Android环境下,Picker无法滑动选中的那一行

hitbear518 opened this issue · comments

return (
      <View style={style}>
        <ScrollView
          style={styles.scrollView}
          ref={el => this.scrollerRef = el}
          onScroll={this.onScroll}
          scrollEventThrottle={16}
          showsVerticalScrollIndicator={false}
          overScrollMode="never"
        >
          <View ref={el => this.contentRef = el}>
            {items}
          </View>
        </ScrollView>
        <View ref={el => this.indicatorRef = el} style={styles.indicator}/>
      </View>
    );

看了源码,是indicator把下面的items挡住了,可以把indicator挪到下层视图吗?

我在 Android 7 模拟器里试试没问题,你是怎么复现的?

复现了,是在选中条目上拖动时候、拖不动,确实是个问题。