-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Paper-Checkbox Animation Fix #584
Comments
I am not seeing the animation issue that you described. The demo here seems to work ok: http://www.polymer-project.org/components/paper-checkbox/demo.html |
Just did, and its there. The problem is that the top and left border on the I slowed the animation down in my own tests to about 5s (rather than the Simply adding the code I listed in the OP to the CSS file fixes the issue.
|
You are right. I could see the issue now. Thanks for the report and the fix. |
Hi guys,
While I was messing around with the Polymer code for the paper-checkbox element I found that it was animating weirdly, causing it to appear as if the box became the checkmark first, then shrunk, then expanded again. Diving into the CSS behind the element, I found the culprit and fixed the issue on my own copy of the code, and figured you'd like to know so it can be fixed in the next release of Polymer.
To fix this issue, within the stylesheet paper-checkbox.css simply add border: solid 2px; to the #checkbox.checked.box CSS declaration.
This prevents the borders around the box from disappearing as it shrinks, which was the issue I had found, but allows them to disappear as soon as the checkmark begins to expand.
Hope this helps!
TechnoBishop
The text was updated successfully, but these errors were encountered: