jeremybarbet/react-native-modalize

how to enable gesture outside Modalize without closing it

alainib opened this issue · 1 comments

it is possible to use gesture/move outside Modalize ( in the red box) ?

Capture d’écran 2024-05-07 à 12 08 00

for example i have this app, now the Modalize open over a maps. i need the user to be still able to navigate/move in the maps to press on marker (so the content of the modalize will be changed )

How to enable this please ?

my actual code:

<Modalize
          onOpened={onOpened}
          onClosed={onClosed}
          FooterComponent={renderFooterComponent}
          HeaderComponent={renderHandleComponent}
          adjustToContentHeight={!loadingData}
         avoidKeyboardLikeIOS={true} 
          keyboardAvoidingBehavior={IS_IOS ? undefined : 'height'}
          modalTopOffset={80}
          withHandle={false}
          ref={modalizeRef}
          closeOnOverlayTap={false}
          footerHeaderHeight={79}
        >
          {renderContent()}
        </Modalize>
```


i tried with `@gorhom/bottom-sheet` who enable this but my app crash because of reanimated error on build mode

thanks

@alainib easy, use withOverlay={false}