From 931f29c80ed49a8beb09a44ee2c548a4a2aab055 Mon Sep 17 00:00:00 2001 From: Rafael Weinstein Date: Wed, 28 Jan 2015 16:56:25 -0800 Subject: [PATCH] Fix city-list example after changes to scrolling. Note that this patch only includes support for the wheel event. I'll follow-up with a patch for scrolling/fling when I have a setup on which I can verify that working. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/875473004 --- examples/city-list/city-list.sky | 141 ++++++------------------------- 1 file changed, 25 insertions(+), 116 deletions(-) diff --git a/examples/city-list/city-list.sky b/examples/city-list/city-list.sky index a29a3e8117..4d8e55012f 100644 --- a/examples/city-list/city-list.sky +++ b/examples/city-list/city-list.sky @@ -120,34 +120,8 @@ module.exports.CityItemElement = class extends SkyElement { background-color: #fff; } - #scroller { - overflow-x: hidden; - overflow-y: auto; - perspective: 5px; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - } - - #scroller::-webkit-scrollbar { - display:none; - } - - #scrollarea { - will-change: transform; - transform-style: preserve-3d; - } - #contentarea { - position: absolute; - will-change: contents; - width: 100%; - } - - .void { - display: none; + will-change: transform; } .position { @@ -157,12 +131,8 @@ module.exports.CityItemElement = class extends SkyElement { } -
-
-
-
+
-