input icon indicating copy to clipboard operation
input copied to clipboard

Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('email') does not support selection.

Open kamil-winware opened this issue 11 months ago • 2 comments

Recent change https://github.com/react-component/input/compare/v1.4.3...v1.4.4#diff-94b5cf5856a42bc2e70f9e2b690fda2b65151186e6b007466ff6c6744c40e2c8R30

currentTarget.selectionStart = target.selectionStart; currentTarget.selectionEnd = target.selectionEnd;

breaks input type email functionality. With error:

Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('email') does not support selection.

kamil-winware avatar Mar 11 '24 12:03 kamil-winware