react-native-actions-sheet icon indicating copy to clipboard operation
react-native-actions-sheet copied to clipboard

Docs: Add isModal={false} requirement to the example for bg interaction

Open lakardion opened this issue 1 year ago • 1 comments

backgroundInteractionEnabled is not enough on its own to allow the background interaction as it is right now.

I am not sure whether this should actually be fixed in the code so that isModal is modified internally when backgroundInteractionEnabled is set to true.

But it took me some time to realize that isModal prop was required to be set to false for the feature to work so I wanted to contribute this small change so that it is clearer for anyone else that comes into the docs seeking how to enable this.

lakardion avatar Feb 16 '24 17:02 lakardion

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rnas ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 16, 2024 5:21pm

vercel[bot] avatar Feb 16 '24 17:02 vercel[bot]

now opening keyboard closes modal

Saliheen avatar May 09 '24 07:05 Saliheen