Popper-core: After destroying popper some inline styles are removed on the target

Created on 10 Feb 2020  路  2Comments  路  Source: popperjs/popper-core

CodeSandbox demo

https://codesandbox.io/s/friendly-forest-0p8ev

Steps to reproduce the problem

  1. Create a popper with a target using inline styles
  2. Call popper.destroy()

What is the expected behavior?

The target original inline styles should be preserved.

What went wrong?

The inline style properties position, left, top and margin are removed, if they were initially present.

# BUG 馃悶

All 2 comments

This will be released as 2.0.6 today

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ConneXNL picture ConneXNL  路  3Comments

Sawtaytoes picture Sawtaytoes  路  5Comments

tyrw picture tyrw  路  4Comments

memboc picture memboc  路  3Comments

FezVrasta picture FezVrasta  路  3Comments