From 06cdb58d3e28b0099653a723539e47dacd7aa5bd Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Thu, 25 Apr 2019 19:26:25 +0200 Subject: [PATCH] Don't block clicks on vertical scrollbar behind fade-out effect This does not solve all two acceptance criteria mentioned in T220200: * This will allow *interacting* with the scrollbar, no matter if it is partly covered by the fade-out effect. * This still does not place the scrollbar in front of the fade-out effect. Very thin scrollbars are still very hard to see. Bug: T220200 Change-Id: I394aea6a25c4b3923ad01e18328d42a5e50081f3 --- src/ui/templates/referencePreview/referencePreview.less | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/templates/referencePreview/referencePreview.less b/src/ui/templates/referencePreview/referencePreview.less index 986497d93..4db438f2a 100644 --- a/src/ui/templates/referencePreview/referencePreview.less +++ b/src/ui/templates/referencePreview/referencePreview.less @@ -37,6 +37,7 @@ background-image: -moz-linear-gradient( top, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) ); background-image: linear-gradient( rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) ); .transition( bottom 250ms ease ); + pointer-events: none; // Allows clicking "through" the element } &.mwe-popups-fade-out {