Uh oh!
There was an error while loading. Please reload this page.
fix: TextInput loses focus inside Banner on iOS only - #4179
fix: TextInput loses focus inside Banner on iOS only#4179abdulbasithqb wants to merge 4 commits into
Conversation
fix: TextInput loses focus inside Banner on iOS only callstack#4178
Hey @abdulbasithqb, thank you for your pull request 🤗. The documentation from this branch can be viewed here. |
Uh oh!
There was an error while loading. Please reload this page.
fix: removed duplicated style content
It may break a layout for users who pass a component as a child into the Banner component
lukewalczak
commented
Jan 10, 2024
abdulbasithqb
commented
Jan 16, 2024
any suggestion to resolve this issue ? |
The problem with broken layout if we pass There are other potential cases where changes from this pull request might cause error for the users that already using Banner component:
<Bannervisible={visible}>
first child
<Text>second child</Text></Banner>
<Bannervisible={visible}><>some text</></Banner>Potential solutions that come to mind are either to check each child and wrap the strings in Text, or to treat this as a breaking change, but then it would not be a fix, but a major change |
1062366 to
1da5d15Compare



Motivation
TextInput loses focus every type a character is entered and keyboard is dismissed. This happens only on iOS real device.
On android real device it works as expected.
Related issue
issue #4178
Result