blueprint: Tooltip2/Popover2 cause infinite loop when Chrome is zoomed out to or past 75%

Bug report

  • Package version(s): v1.x and v2.x
  • Browser and OS versions: Chrome 63, MacOS X 10.13.

Steps to reproduce

  1. Zoom Chrome out to at least 75%
  2. Open a Tooltip2 or Popover2

This is reproducible on the blueprint v2 docs with the “Hover and click me” button when you click it.

A quick “fix” is to disable zooming on Chrome by setting document.body.style.zoom to 1 / window.devicePixelRatio initially and every resize.

Actual behavior

Chrome freezes at 100% CPU usage with no console error.

This error is very inconsistent and appears to depend on the size of the popover/tooltip. I have a feeling this is related to Popper.js. Perhaps this issue?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (12 by maintainers)

Most upvoted comments

fixed by #3885

Going to close this issue, please open a new one with more details about the exact Popover/Tooltip API usage (and ideally a codesandbox repro) if you still see this.

This seems to have stopped happening for me. Anyone else not getting this anymore?