Popper-core: Result of getOuterSizes is not consistent

Created on 6 May 2016  路  2Comments  路  Source: popperjs/popper-core

Steps to reproduce the problem

  1. Go to https://popper.js.org/
  2. Scroll page to section POPPER ON YOUR SIDE!
  3. Wait popper elements on the left side toggle
  4. When a new popper appears, scroll the page a bit

_the change is more notable when it is the left popper that is visible_

What is the expected behavior?

Popper element stays on the same position

What went wrong?

Popper element reposition itself due to changes in getComputedStyle result

Any other comments?

Check this gif:
image

# BUG 馃悶

All 2 comments

I believe that the error is related to the use of root.getComputedStyle method with an invisible element;

I got the same error!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ConneXNL picture ConneXNL  路  3Comments

skitterm picture skitterm  路  5Comments

diondiondion picture diondiondion  路  4Comments

memboc picture memboc  路  3Comments

Johann-S picture Johann-S  路  3Comments