Commit Graph

7 Commits

Author SHA1 Message Date
Adam Bradley
69b1a03dbf refactor(clickBlock): only use click block when animating 2014-12-04 08:56:20 -06:00
Adam Bradley
096784984f fix(clickBlock): cancel pending show if already hidden 2014-12-03 08:03:30 -06:00
Adam Bradley
8a6bf1ab6f refactor(clickBlock): reduce auto expire 2014-12-03 01:52:27 -06:00
Adam Bradley
5966c675f5 fix(view): prevent flicker 2014-11-26 10:11:21 -06:00
Adam Bradley
79aee05a32 refactor(clickBlock): transform css for click block
Use transform/opacity CSS properties to show and hide the click block
element, and use requestAnimationFrame for the DOM changes. This is
easier for the GPU to use transform/opacity properties instead of the
display property, and also reduces any potential reflows.
2014-11-10 21:18:10 -06:00
Adam Bradley
f0af085841 refactor(clickBlock): ensure click block fallback cancels 2014-09-26 08:15:21 -05:00
Adam Bradley
e9f0fcf556 refactor(clickBlock): add click-block div to body
Instead of using pointer-events: none to disable unwanted clicks which
can cause flickering, we’re now using a click-block div that covers the
view during transitions. Similar concept to pointer-events: none
applied to the body tag, but in tests its showing to be more effective
to not cause any flickers.
2014-08-27 12:56:12 -05:00