SDK39 / panResponder / draggin / stop propagation event

Please provide the following:

  1. SDK Version: SDK39
  2. Platforms(Android/iOS/web/all): Ios / Android

Hi just upgrade SDK38 to SDK39 and my app are not working anymore.
First with splashscreen but it just appear on epxo app or also build app ? (i find solution)

Next, the most important probleme is the panresponder.
when doing:
<View {…panResponder.panHandlers}>
{this.props.children}

all onPress in children are not responding to click anymore…

Any news about that ?

Juste notice now maybe it’s relate to new Pressable component… my TouchableOpacity onPressIn not works any more with a panResponder parent…

what i have to do please ?

Hey @sbe,

Can you elaborate on what’s going on here? I’m having a hard time following along. First, what’s the issue you’re encountering regarding the SplashScreen? As for the second part regarding PanResponders not working as expected, I would recommend taking a look at the RN changelog and issues to see what could be going on here.

Cheers,
Adam

Thank you to help me and trying to understand my poor english…

SplashScreen : when i start the app on expo i get a warning

[Unhandled promise rejection: Error: Native splash screen is already hidden. Call this method before rendering any view.]

so I add :

SplashScreen.preventAutoHideAsync().catch(console.warn);

Next probleme was: my “buttons” can’t be clickable inside my panResponder.

So i fixed my problem:

  • I set sdk-39.0.4.tar.gz manully in my package .json
  • and rewrite the panResponder…

Thx for helping me.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.