Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Conversation

@jleveugle
Copy link
Contributor

@jleveugle jleveugle commented Jan 21, 2019

Hello,

Description of the Change

Currently, if you have a dropdown inside a DOM element with a position: absolute, the dropdown will pop at the wrong place.

Default parameter of Popper.js fix the issue.

Benefits

Dropdown will now display correctly in that case

Possible Drawbacks

I can't reproduce an issue, which explains why we choose to override some modifiers.

It is possible that in other cases, it is broken. However, we use the default behavior of Popper.js, so the risk is minimal I think.

Applicable Issues

Internal use: OM-266

@jleveugle jleveugle changed the base branch from master to develop January 21, 2019 10:46
@AxelPeter AxelPeter added the bug label Jan 21, 2019
@FredericEspiau
Copy link
Contributor

Next time, you can add the explanation to the commit, so we don't lose it ;)

@AxelPeter AxelPeter merged commit 8e2ddce into develop Jan 21, 2019
@AxelPeter AxelPeter deleted the fix/dropdown-positioning branch January 21, 2019 15:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

6 participants