Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

md-radio not working on iOS browsers (Safari < 16.4 & Chrome ) with ElementInternals polyfill #5612

Closed
kkachniarz220 opened this issue May 8, 2024 · 2 comments

Comments

@kkachniarz220
Copy link
Contributor

kkachniarz220 commented May 8, 2024

What is affected?

Component

Description

Radio component is not visible on iOS 15.8.2 (Safari & Chrome browsers). In console I`m getting an error:
Zrzut ekranu 2024-05-8 o 13 20 51
Zrzut ekranu 2024-05-8 o 12 53 25

As mentioned in HTML Standard:

If flags contains one or more true values and message is not given or is the empty string, then throw a TypeError.

Reproduction

https://lit.dev/playground/#project=W3sibmFtZSI6Im1hdGVyaWFsLWltcG9ydHMuanMiLCJjb250ZW50IjoiaW1wb3J0IFwiQG1hdGVyaWFsL3dlYi9yYWRpby9yYWRpby5qc1wiOyJ9LHsibmFtZSI6ImluZGV4Lmh0bWwiLCJjb250ZW50IjoiPCFET0NUWVBFIGh0bWw-XG48c2NyaXB0IHR5cGU9XCJtb2R1bGVcIiBzcmM9XCIuL21hdGVyaWFsLWltcG9ydHMuanNcIj48L3NjcmlwdD5cblxuPG1kLXJhZGlvPjwvbWQtcmFkaW8-XG4ifSx7Im5hbWUiOiJwYWNrYWdlLmpzb24iLCJjb250ZW50Ijoie1xuICBcImRlcGVuZGVuY2llc1wiOiB7XG4gICAgXCJsaXRcIjogXCJeMi4wLjBcIixcbiAgICBcIkBsaXQvcmVhY3RpdmUtZWxlbWVudFwiOiBcIl4xLjAuMFwiLFxuICAgIFwibGl0LWVsZW1lbnRcIjogXCJeMy4wLjBcIixcbiAgICBcImxpdC1odG1sXCI6IFwiXjIuMC4wXCJcbiAgfVxufSIsImhpZGRlbiI6dHJ1ZX1d

Workaround

I have not found a workaround.

Is this a regression?

Yes. This used to work, but now it doesn't.

Affected versions

1.4.1

Browser/OS/Node environment

Browser: Safari 15.8.2
OS: iOS 15.7.2
ElementInternals polyfill version: 1.3.11 (latest)

@christophe-g
Copy link
Contributor

The lit.dev repro does not seem to be related with the issue ; )

@kkachniarz220
Copy link
Contributor Author

Thanks @christophe-g, fixed :)

@material-components material-components locked and limited conversation to collaborators May 23, 2024
@asyncLiz asyncLiz converted this issue into discussion #5626 May 23, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants