gluestack

gluestack Logogluestack

Problem with Pressable

alexcernik posted this in #support
Open in Discord
Avatar
alexcernikOP
Hi, has anyone else had a similar problem? I'm using the latest version of React Navigation and the latest version of GlueStack in React Native Android, also the latest version, on Samsung Android 10. I have a screen where items are listed; the items are GlueStack Pressable components. I go to the item creation screen, create an item, and use popTo('Page', { refreshed: Date.now() });. I have a useEffect method that detects if refreshed changes and calls an API to refresh the item list.

The problem is that the Pressable items stop working. I have to click on the items multiple times to navigate to the details screen. If I exit and return to the item list, the Pressable items work fine.

Thanks
Image

1 Reply