Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox: cant delete mentions if user blur field and re focuses #123

Open
rhysburnie opened this issue Jul 13, 2020 · 2 comments
Open

Firefox: cant delete mentions if user blur field and re focuses #123

rhysburnie opened this issue Jul 13, 2020 · 2 comments
Assignees

Comments

@rhysburnie
Copy link

rhysburnie commented Jul 13, 2020

Hi,

In addition to #58 (multiple mentions last wont delete)

If you make any number of mentions in Firefox then blur the field then re focus you cant delete any mentions at all.

Update

I found that there is ongoing bugs in Firefox around this...
However while investigating the bug I found a potential hacky fix for this...

See the 2 coment i left here
https://bugzilla.mozilla.org/show_bug.cgi?id=685445#c22

You would only want to apply that for firefox and the result would probably be that you'd have to hit delete twice to delete but that seems better than not at all?

@fritx fritx self-assigned this Jul 14, 2020
@fritx
Copy link
Owner

fritx commented Jul 14, 2020

Hi, first of all, did you use v-model.trim or trim the input on blur ?

@huzjakd
Copy link

huzjakd commented Aug 16, 2021

I found that this solution https://bugzilla.mozilla.org/show_bug.cgi?id=685445#c10 works best for my case. So instead of having a span within a span (https://github.com/fritx/vue-at#custom-tags) I have a button within a span and have almost no problems in Firefox anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants