david-legend / otp_textfield

BSD 3-Clause "New" or "Revised" License
63 stars 40 forks source link

handle paste action #21

Open Tetsukick opened 6 months ago

Tetsukick commented 6 months ago

@david-legend Hallo, Could you review this Pull request?

david-legend commented 6 months ago

alright, will do that by close of day

david-legend commented 6 months ago

@Tetsukick Hey I tested your implementation. The pasting works very well but it has affected the backspace. i have recorded a video of it for you to see below. When I press backspace it skips some of the text. Can you fix it and resubmit

https://github.com/david-legend/otp_textfield/assets/17256271/42e12b26-4ebb-40c2-adf7-eec7d399a9b6

Tetsukick commented 6 months ago

@david-legend thank you for checking. sorry I will update my code.

yassinebebba commented 5 months ago

@david-legend the library backspace does not work properly without this PR, so I don't think its the PR