Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to enable gesture outside Modalize without closing it #502

Open
alainib opened this issue May 7, 2024 · 1 comment
Open

how to enable gesture outside Modalize without closing it #502

alainib opened this issue May 7, 2024 · 1 comment

Comments

@alainib
Copy link

alainib commented May 7, 2024

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

@marcin-spotio
Copy link

@alainib easy, use withOverlay={false}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants