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

[ScrollView] Warning: ScrollView doesn't take rejection well - scrolls anyway

Open magicismight opened this issue 11 years ago • 97 comments

I put a ScrollView inside another ScrollView. When I scrolled,It will give a warning: Warning: ScrollView doesn't take rejection well - scrolls anyway ,and sometimes the ScrollView inside will jump to the top or bottom.

magicismight avatar Jun 03 '15 12:06 magicismight

Is it a vertical + horizontal combination or two ScrollViews scrolling on the same axis?

rxb avatar Jun 04 '15 19:06 rxb

I get this warning randomly even without nested ScrollViews. No clue what it means.

marcshilling avatar Jun 04 '15 22:06 marcshilling

Ohhh I'm also getting this warning don't know why :disappointed:

piyushchauhan2011 avatar Jun 09 '15 02:06 piyushchauhan2011

I'm also getting this warning

silentcloud avatar Jun 13 '15 11:06 silentcloud

I'm getting this when scrolling vertically a ListView that's inside an horizontal ScrollView

eljago avatar Jun 15 '15 10:06 eljago

The same issue is posted here as well: https://github.com/facebook/react-native/issues/41

sghiassy avatar Jun 30 '15 20:06 sghiassy

:+1:

felixakiragreen avatar Jul 23 '15 00:07 felixakiragreen

I'm getting this issue when nesting a TextInput inside a ListView. When scrolling most of the time I don't get the warning, but when I start the scroll with the pointer (this is in the simulator, haven't tried on device yet) on the TextInput it gives me the warning.

jasonmerino avatar Sep 10 '15 23:09 jasonmerino

I am also seeing this issue. I have a custom 'swipe to delete' for the rows which has a horizontal swipe inside a vertical ListView. If I move up or down at all while this happens, it scrolls. Even with setting:

onPanResponderTerminationRequest: () => false

Joshuabaker2 avatar Sep 17 '15 19:09 Joshuabaker2

I get this issue with a <ListView> inside a <ScrollView>

ryanmcdermott avatar Oct 13 '15 16:10 ryanmcdermott

one more here. I have two ListViews inside a Scroll (I'm using react-native-scrollable-tab-view component)

patoroco avatar Oct 20 '15 07:10 patoroco

@magicismight The jump reason is than you should set this automaticallyAdjustContentInsets={false}

xiekw2010 avatar Oct 23 '15 07:10 xiekw2010

111

pengzekuan avatar Oct 28 '15 07:10 pengzekuan

when put a props dynamic in the scrollview it happend

pengzekuan avatar Oct 28 '15 07:10 pengzekuan

+1

IlyasM avatar Nov 20 '15 13:11 IlyasM

+1

nowaits avatar Nov 26 '15 08:11 nowaits

+1

chenxiaohu avatar Nov 30 '15 13:11 chenxiaohu

+1

wuchu avatar Dec 06 '15 16:12 wuchu

+1

jadsonlourenco avatar Dec 08 '15 14:12 jadsonlourenco

+1

niftylettuce avatar Dec 14 '15 04:12 niftylettuce