react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

fix: issue when uncontrolled input value is set programmatically i.e …

Open shubhamdeol opened this issue 1 year ago • 2 comments

…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

Screenshot_20250113-170518

  • After Screenshot_20250113-170721

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.

shubhamdeol avatar Jan 13 '25 11:01 shubhamdeol

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

callstack-bot avatar Jan 13 '25 11:01 callstack-bot

@callstack-bot @lukewalczak why this PR is not addressed?

shubhamdeol avatar Oct 14 '25 10:10 shubhamdeol