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 102.6.0 ESR addEventListener not properly works #12918

Closed
ZhymabekRoman opened this issue Jan 4, 2023 · 2 comments
Closed

Firefox 102.6.0 ESR addEventListener not properly works #12918

ZhymabekRoman opened this issue Jan 4, 2023 · 2 comments

Comments

@ZhymabekRoman
Copy link

Version

2.7.14

Reproduction link

codepen.io

Steps to reproduce

  1. Open example: https://codepen.io/zhymabekroman/pen/MWvVByG
  2. Start entering number 7 in the input box

What is expected?

The input box should display the formatted phone number in the format: +7 (777) 777-77-77-77
In Chrome based browsers (tested in Edge 109.0.1518.26 beta) this works properly

What is actually happening?

Firefox doesn't format numbers, just show: 777777777777777777


I don't know what the problem is exactly, maybe it's a problem with Firefox, but I still want to report the problem. Related issue (maybe): #9446.

If disable vue's events in Firefox dev tool, phone formatting being properly works:
Screenshot_20230104_083915

And sorry for my English.

@dibotak
Copy link

dibotak commented Jan 9, 2023

Hi, i think you can use v-on method directly on new Vue() object instead of using addEventListener method.
Here the example that works properly on me (tested on firefox 108.0 and edge 108.0.1462.76). Using the same method that you use on your codepen.

@ZhymabekRoman
Copy link
Author

Hi, i think you can use v-on method directly on new Vue() object instead of using addEventListener method.
Here the example that works properly on me (tested on firefox 108.0 and edge 108.0.1462.76). Using the same method that you use on your codepen.

Thanks for helping! It's working!

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

2 participants