-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Checkbox icon hidden in Safari #205
Comments
This is happening for our JS checkbox, but not for our regular checkboxes. Looks like it could be a regression of some sort, but definitely a bug. We should prioritize this. |
Fixes issue where wrong event type was being used within `getCorrectEventName` in `register`/`deregisterAnimationEndHandler` adapter methods in vanilla component. Discovered while working on #205.
spent time on this today. It's proving extremely difficult to debug animations in Safari. Looking at the inspector, everything basically looks correct. The styles inspector shows the styles which should be applied, but are not. Manually toggling and un-toggling the styles causes the element to look correct again 🤦♂️ 🤦♀️ 🌎 💥 The first thing I noticed is that in our adapter, we're not attaching the correct animation events for I tried following the advice in this stackoverflow post regarding enabling Safari's internal debug menu. I did that and played around with it and couldn't seem to identify any of the issues. I will keep experimenting to see if I can find some way of figuring out why this isn't working, but unfortunately it does look like a browser issue. Checkboxes work fine in every other browser. I see three immediate options:
All of these are suboptimal, but there's no way around dealing with browser inconsistencies. |
Doesn't work in Mobile Safari either. Will try and git bisect to see if there was a change that broke it. Otherwise, it may have been an OS update that caused the breakage, in which case we're in trouble...we can try creating a simple repro of the issue and file a bug with webkit. |
Other option could be to use an |
Fixes issue where wrong event type was being used within `getCorrectEventName` in `register`/`deregisterAnimationEndHandler` adapter methods in vanilla component. Discovered while working on #205.
- Adds a mdc-checkbox--upgraded mod class which is attached by the foundation when a JS checkbox is used. - Disables all transitions when the animation classes are used. Fixes an issue in Safari where the the paint/compositing looked janky/broken due to animations and transitions conflicting with one another. - (tech debt) Removed template strings from cssClasses object. This will be required in order for our internal infra to work correctly. Fixes #205
- Adds a mdc-checkbox--upgraded mod class which is attached by the foundation when a JS checkbox is used. - Disables all transitions when the animation classes are used. Fixes an issue in Safari where the the paint/compositing looked janky/broken due to animations and transitions conflicting with one another. - (tech debt) Removed template strings from cssClasses object. This will be required in order for our internal infra to work correctly. Fixes #205
…ses (#285) - Adds a mdc-checkbox--upgraded mod class which is attached by the foundation when a JS checkbox is used. - Disables all transitions when the animation classes are used. Fixes an issue in Safari where the the paint/compositing looked janky/broken due to animations and transitions conflicting with one another. - (tech debt) Removed template strings from cssClasses object. This will be required in order for our internal infra to work correctly. Fixes #205
…ses (#285) - Adds a mdc-checkbox--upgraded mod class which is attached by the foundation when a JS checkbox is used. - Disables all transitions when the animation classes are used. Fixes an issue in Safari where the the paint/compositing looked janky/broken due to animations and transitions conflicting with one another. - (tech debt) Removed template strings from cssClasses object. This will be required in order for our internal infra to work correctly. Fixes #205
What MDC-Web Version are you using?
0.3.0
What browser(s) is this bug affecting?
Desktop Safari
What OS are you using?
macOS 10.12.2
What are the steps to reproduce the bug?
What is the expected behavior?
check or indeterminate icons will be displayed
What is the actual behavior?
checkbox fills in with primary color, no icon is displayed
The text was updated successfully, but these errors were encountered: