react-native-paper
react-native-paper copied to clipboard
fix: issue when uncontrolled input value is set programmatically i.e …
…without typing
Motivation
We have a use case which I feel is very common. We have remark suggestions for an entry. Once suggestion is chosen from list of suggestions and value is set using setNativeProps method, uncontrolledValue is not updated this is resulting input label and palceholder to get overlapped.
This can also happen in cases where pastes the content into input without typing it.
Related issue
Screenshots
- Before
- After
Test plan
- I don't this any major testing is required. I have kept the changes to minimum. It should not effect the other functionality.
Hey @shubhamdeol, thank you for your pull request 🤗. The documentation from this branch can be viewed here.
@callstack-bot @lukewalczak why this PR is not addressed?