You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, really easy, tiny and amazing library you have built, thanks for that!
I'm starting to make use of it, but I'm now with a small issue here that other libraries that I have used before had that option. It's missing a way to know if the sheet is currently open or not and/or even add some callback prop like onSheetClose.
This is useful, because for example in my current scenario here: I have a component (which is basically a FlatList that is rendered inside of the Sheet), but this list does receive a prop from the parent component that I have where the Sheet is being called, you can imagine it like an ID which I'll use to do some edits inside the sheet. Now the problem is, if I have made some changes inside of the list and closed the sheet, the ID will be the same, because the useState still has the same value. If I have some onSheetClose method, I could then clear this ID whenever the sheet gets closed. This would be very useful.
I hope you understand what I meant, and I'd be open to contribute as well.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello again @RSchneider94 , sliding in to let you know I've released version 0.2.0 which has the requested features.
So you can bump to latest version in your project, thanks 🚀
Hello again @RSchneider94 , sliding in to let you know I've released version 0.2.0 which has the requested features. So you can bump to latest version in your project, thanks 🚀
hey @stanleyugwu !! I have updated to the latest version and it works really well, thanks again for that!
Hey, really easy, tiny and amazing library you have built, thanks for that!
I'm starting to make use of it, but I'm now with a small issue here that other libraries that I have used before had that option. It's missing a way to know if the sheet is currently open or not and/or even add some callback prop like
onSheetClose
.This is useful, because for example in my current scenario here: I have a component (which is basically a
FlatList
that is rendered inside of the Sheet), but this list does receive a prop from the parent component that I have where the Sheet is being called, you can imagine it like an ID which I'll use to do some edits inside the sheet. Now the problem is, if I have made some changes inside of the list and closed the sheet, the ID will be the same, because theuseState
still has the same value. If I have someonSheetClose
method, I could then clear this ID whenever the sheet gets closed. This would be very useful.I hope you understand what I meant, and I'd be open to contribute as well.
Thanks!
The text was updated successfully, but these errors were encountered: