react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

countryCodeEditable blocks deleting the number if highlighted

Open patibugaj opened this issue 4 years ago • 2 comments

User cannot delete the number if the whole number was highlighted (with country code) with the countryCodeEditable={false}. For example, the user uses the shortcut key ctrl+ A / cmd + A and clicks - nothing happens. The number is no longer highlighted but nothing was deleted. Maybe the country prefix shouldn't be able to be highlighted? I recorded a video to better explain the issue.

https://user-images.githubusercontent.com/37595963/107971244-87e92f00-6fb2-11eb-845d-eed9e78e7554.mp4

patibugaj avatar Feb 15 '21 16:02 patibugaj

@patibugaj Were you able to resolve this one?

h27-webdev avatar Oct 11 '22 03:10 h27-webdev

I am facing same issue, do anyone have any solution for this one ?

Delwalt avatar Nov 14 '23 08:11 Delwalt