ngx-chips icon indicating copy to clipboard operation
ngx-chips copied to clipboard

addOnBlur not working with touchpad

Open ricardodolnl opened this issue 5 years ago • 0 comments

I'm submitting a ... (check one with "x")

[x ] bug report => search github for a similar issue or PR before submitting
[ ] support request/question

Notice: feature requests will be ignored, submit a PR if you'd like

Current behavior

The addOnBlur event doesn't work on devices with a touchpad. To be more clear, the touchpad has to be set to 'touch to click' not push to click. In my case the field has also a validator for email and it's the last field before someone would click on a send button. So the addOnBlur event doesn't run fast enough before the send button event is running. This does work fine if the touchpad is set to 'press to click' or when using a mouse.

Expected behavior

That it would add the email on blur before the form is submitted.

Minimal reproduction of the problem with instructions (if applicable)

What do you use to build your app?. Please specify the version angular-cli

Angular version: 9.0.6

ngx-chips version: 2.1.0

Browser: all desktop browser at least

ricardodolnl avatar Jun 02 '20 07:06 ricardodolnl