Replies: 3 comments 5 replies
-
Thanks for moving this topic here. The problem with portal is that it requires rendering the item outside of the grid component and sometimes, when renders happen during animations, it may result in flickering or other unexpected behavior, which I wanted to avoid. Even though, I think that there is no other way to implement this than using a Portal component but I will try to experiment with that during the weekend and let you know then. |
Beta Was this translation helpful? Give feedback.
-
Hey @fax1ty! I know I said that I will work on your feature requests during the weekend but I am still struggling with the implementation of Portal component to teleport the active item above all other items. |
Beta Was this translation helpful? Give feedback.
-
Hey @fax1ty! I finally merged a PR that adds portal support. I was struggling with making it work on the expo example app but it seems that I spent too much time unnecessarily as my problems are caused by this Reanimated issue with You can test it out by cloning this repo and wrapping the components within the I will release a new version of the library in the next week, when I come back from holiday and add support for fixed items in the grid. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In containers that don't support overflow, we can see cropped items.
Ex. ScrollView
[redacted]
Same code with View
[redacted]
My suggestion is to add the ability to pass a Portal component, where the item would be positioned on the topmost layer of the screen.
Beta Was this translation helpful? Give feedback.
All reactions