From b8d862618aa46ea0f9a3b930ca2c2ee823ed5835 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 12 Apr 2018 21:17:57 -0700 Subject: [PATCH] Use display:none for virtual list header (#96) Fixes #59 by using display:none instead of opacity/pointer-events tricks while still showing an animation --- .../virtualList/VirtualListHeader.html | 38 ++++++++++++++----- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/routes/_components/virtualList/VirtualListHeader.html b/routes/_components/virtualList/VirtualListHeader.html index 3ff9a79..69194bd 100644 --- a/routes/_components/virtualList/VirtualListHeader.html +++ b/routes/_components/virtualList/VirtualListHeader.html @@ -1,5 +1,4 @@ -
<:Component {component} :virtualProps />
@@ -9,28 +8,47 @@ top: 0; width: 100%; opacity: 0; - pointer-events: none; z-index: 10; transition: none; + display: none; } .virtual-list-header.shown { - opacity: 1; - pointer-events: auto; + display: block; transition: opacity 0.333s linear; } + .virtual-list-header.faded-in { + opacity: 1; + } \ No newline at end of file