Subscribe on changes!

Web component doesn't work with older browsers

avatar
Jun 17th 2022

Vue version

3.2.37

Link to minimal reproduction

https://gist.github.com/Arvkus/032608f9de6a4646e61da1f7938deb76

Steps to reproduce

Open html file with Chromium 61 browser.

What is expected?

Render custom-counter button inside Vue app.

What is actually happening?

custom-counter is ignored inside Vue app.

System Info

No response

Any additional comments?

Chromium 61 from the archive (Windows) https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/484344/

With Chromium +67 everything is working as expected.

avatar
Jun 22nd 2022

Custom Elements v1 is only fully supported in Chrome 67+: https://caniuse.com/?search=custom%20elements

avatar
Jun 22nd 2022

Looks like Vue's usage should be supported in 61, but I'll need more info to see what's going on. Is there any error thrown or is it just silently ignored?

avatar
Jun 22nd 2022

It's silent. Custom element's constructor or any of the callbacks are not called.