Skip to content

Commit

Permalink
GDB-10304: Blinking hovers on Google Pie charts
Browse files Browse the repository at this point in the history
What
The Google tooltip blinks when the mouse is over Google Pie charts.

Why
 - Mousing over the chart activates the popup;
 - The popup is superimposed on top of the chart and under the pointer. This situation activates the flicker;
 - The pointer is no longer over the chart (because it's over the popup), and therefore the popup is removed;
 - This creates a loop (Go to 1).

The reason is described at google/google-visualization-issues#2162.

How
Removes pointer events from Google tooltips as suggested in google/google-visualization-issues#2162".
  • Loading branch information
boyan-tonchev committed May 30, 2024
1 parent 1c2cf22 commit c8e959f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -746,3 +746,6 @@
.jfk-tooltip-arrowdown .jfk-tooltip-arrowimplafter, .jfk-tooltip-arrowup .jfk-tooltip-arrowimplafter {
border-color: #003663 transparent !important;
}

// Fixes Google visualization tooltip flickering. More info can be found at https://github.com/google/google-visualization-issues/issues/2162.
svg > g > g.google-visualization-tooltip { pointer-events: none }

0 comments on commit c8e959f

Please sign in to comment.