ngx-mat-intl-tel-input icon indicating copy to clipboard operation
ngx-mat-intl-tel-input copied to clipboard

Safari: Allow select/copy/paste

Open bdavies opened this issue 3 months ago • 0 comments

Tested on Safari for Mac, latest version.

Due to the onInputKeyPress being quite restrictive, and Safari treating the keyboardPress event differently to other browsers, it was not possible to select all/copy/paste phone numbers into the input.

This PR resolves that by allowing ctrl/meta characters as part of the onInputKeyPress method

bdavies avatar Oct 28 '24 12:10 bdavies