enesozturk / rn-swipeable-panel

Zero dependency swipeable bottom panel for React Native 📱
MIT License
970 stars 143 forks source link

login button are not working when keyboard open. I also try keyboardShouldPersistTaps="handle" #104

Closed komailabbas12 closed 2 years ago

komailabbas12 commented 2 years ago
<SwipeablePanel
        {...panelProps}
        isActive={isPanelActive}
        onlyLarge={true}
        keyboardShouldPersistTaps="handle" 
      >
        {/* Your Content Here */}
        {/* isloginr 1 for login 2 for register */}
        <Login id={isloginr} navigation={navigation}  keyboardShouldPersistTaps='handled'/>
</SwipeablePanel>

when in login the keyboard are open then rest of the button are not working first we have to close the keyboard

komailabbas12 commented 2 years ago

The issue is solved by adding

scrollViewProps={{ scrollEnabled: false }}