Skip to content

Conversation

@seb-zabielski
Copy link
Contributor

@seb-zabielski seb-zabielski commented May 22, 2024

Motivation

The position of the right TextInput.Affix is not calculated correctly when the onPress method is provided.

Related issue

#4407

Test plan

Run Example and add a right affix to TextInput with the onPress property. Affix should render the same as without onPress. You can also try the example from the related issue.

The first recording shows how the component behaves before the fix (without and with the onPress property). The second is the result after the fix.

before.mov
after.mov

@callstack-bot
Copy link

Hey @seb-zabielski, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@gedu gedu added this to the 5.12.4 milestone May 22, 2024
@gedu
Copy link
Contributor

gedu commented May 22, 2024

@seb-zabielski Cool thanks for the PR, can you provide some video showing the fix?

@seb-zabielski
Copy link
Contributor Author

@gedu I have updated the description and added the recordings there

@gedu gedu self-requested a review June 6, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants