I noticed that when I add will-change on a fixed button (using JS), it gets really choppy. This applies to both the 'will-change' button and the button without it.
Example that shows the issue: http://jsbin.com/kelajo/3/edit?html,css,js,output
GIF that shows the issue: http://i.imgur.com/sTSkvFA.gifv
Remove the will-change line and both buttons will start working.
Is this a Chrome issue, or am I missing anything? Thank you.
This actually isn't the answer but I need to share it with the world:
I also had issues with
will-changeproperty, so i read this: https://developer.mozilla.org/en/docs/Web/CSS/will-change It turns out, this property should be used very wisely:Here is my problem: In this example,
will-changeproperty is messing with stacking-context (z-indexoverlapping elements). First element has this property and others don't (hover on dark div inside green div). It took me few hours to find out what was wrong with my code when i was trying to be fancy usingwill-change