x-tag / core

The Heart of X-Tag
http://x-tag.github.io/
Other
1.25k stars 151 forks source link

Not working on Safari iOS #179

Open l1354524 opened 6 years ago

l1354524 commented 6 years ago

I can't seem to get xtag to work on Safari on iPhone. It works fine on Safari on a mac though. My project can be seen here https://jsfiddle.net/60u3gqrj/2/ . The buttons don't get any styling.

l1354524 commented 6 years ago

Also if I created an element at runtime (document.createElement), which has the [is]-attribute, it doesn't seem to get any stylings applied. It simply doesn't trigger the created event in the lifecycle.

Is there anyway to force xtag to either automatically check for new elements, or force it to update. Like xtag.update('go-button');

Code example: https://jsfiddle.net/gnvwrkbm/1/

csuwildcat commented 6 years ago

The is="" extension mechanism is gone from the final Web Components Custom Element spec, and X-Tag v2 removes it.