๐ฌ React-Native Chat SDK โ Stream Chat. Includes a tutorial on building your own chat app experience using React-Native, React-Navigation and Stream
It appears that on version 0.76.0 of React Native and onwards Android modals are known to bug out if it is not immediately clear what the size of their parent is, even if it's enclosed and completely predictable. It's not entirely clear to me (yet) if this is a new architecture thing or something else. The change makes sure that the Modal's immediate parent is correct and signals the Android internals to properly calculate the size of the modal.
Special styling overrides to the modal are not given because:
This is something that is meant to be used internally (and I want it to stay that way), since integrators can always override the behaviour of the poll creation button and spin up their own modal if they need something specific
We anyway want to enforce the proper use of navigation components (through popular navigation libraries) to be the thing our integrators do for any type of navigation as it's impossible to handle every case with our own
๐ฏ Goal
It appears that on version
0.76.0
of React Native and onwards Android modals are known to bug out if it is not immediately clear what the size of their parent is, even if it's enclosed and completely predictable. It's not entirely clear to me (yet) if this is a new architecture thing or something else. The change makes sure that theModal
's immediate parent is correct and signals the Android internals to properly calculate the size of the modal.Special styling overrides to the modal are not given because:
๐ Implementation details
๐จ UI Changes
iOS
Android
๐งช Testing
โ๏ธ Checklist
develop
branch