Bug 1549777 - Disable cursor events on preview bracket-arrow. r=jlast
authorjaril <jarilvalenciano@gmail.com>
Tue, 07 May 2019 21:13:11 +0000
changeset 531930 14654d375cc67708a8fc03e7e3e87bcad8d5abe6
parent 531929 eb55d30a839a0cf77a84e00909c069d6c7e050fb
child 531931 b895777154c658879b8f97e46b1aff2f1e29a3c6
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast
bugs1549777
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1549777 - Disable cursor events on preview bracket-arrow. r=jlast The original bug was being caused by a mouseleave from the token and mouseenter into the bracket arrow being triggered immediately after the preview was rendered. This appears less often on longer variable names, but happen all the time for single character variable names. The problem no longer persists after removing cursor events from the bracket arrow. Differential Revision: https://phabricator.services.mozilla.com/D30222
devtools/client/debugger/src/components/shared/BracketArrow.css
--- a/devtools/client/debugger/src/components/shared/BracketArrow.css
+++ b/devtools/client/debugger/src/components/shared/BracketArrow.css
@@ -1,14 +1,15 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 .bracket-arrow {
   position: absolute;
+  pointer-events: none;
 }
 
 .bracket-arrow::before,
 .bracket-arrow::after {
   content: "";
   height: 0;
   width: 0;
   position: absolute;