Hi! I found your library and seems to works well, but there is an issue in react-native-web (running with EXPO and webpack)
As soon as OutsidePressHandler is added it starts warning like below:
Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
<>
...
<OutsidePressHandler onOutsidePress={closeAttachmentsMenu} disabled={!isAttachmentsMenuOpen}>
<AttachmentsMenu isOpen={isAttachmentsMenuOpen} />
</OutsidePressHandler>
<ActionBar />
</>
functionality is ok, but I thing there something missing in the library.
Hi! I found your library and seems to works well, but there is an issue in react-native-web (running with EXPO and webpack)
As soon as
OutsidePressHandleris added it starts warning like below:Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
functionality is ok, but I thing there something missing in the library.