Closed adnjoo closed 2 months ago
@adnjoo Unfortunately I cannot reproduce this issue. I added a "handleClose" function that logs "Pressed". It logs and the dialog closes successfully on press of the "x" button.
Can you make sure your files are up to date? If the problem persists, can you provide a minimal reproduction repo as it is the only way I could look into this?
Closing due to inactivity.
If you are still experiencing this issue, please open a new issue with a minimal reproduction repo
Describe the bug X button on top right of Dialog doesn't close Dialog
Example code
To Reproduce Steps to reproduce the behavior:
npx @react-native-reusables/cli@latest add dialog
Expected behavior Expect modal to close
Screenshots
Platform (please complete the following information):
Additional context
I modified DialogContent to pass through
handleClose
to make the X button close the modal. But there are some types/linting warnings.