You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A custom element with the styling and internals below has odd behavior on hover that is not present when contents are not within a custom element. The hover state will trigger somewhat randomly while the mouse is over the object. This behavior is eliminated when removing.
I don't think this is an issue with custom elements per se. I was able to repro a "jiggling" effect with the above code without any polymer. The behavior seemed somewhat intermittent, but this is because it's hard to trigger exactly the same way each time. I believe the problem here is that the element hit box is changing as it's transitioning and the hover state is applying and unapplying fast enough to make it jiggle.
Here's a version that wraps the transforming area in a container whose size does not change. The transition is applied based on that container's hover state:
A custom element with the styling and internals below has odd behavior on hover that is not present when contents are not within a custom element. The hover state will trigger somewhat randomly while the mouse is over the object. This behavior is eliminated when removing.
This behavior is also not present with same css when elements are not contained within a custom element.
I can provide a demo if needed. Tested on Chrome 35.0.1916.153
The text was updated successfully, but these errors were encountered: