Skip to content

Dropdown is offset on initial render #2081

Description

@jagthedrummer

This is not a huge issue but I thought I'd mention it.

In my app the drop down sometimes renders horizontally offset by just a little bit. When it first opens.

For example:

Image

If I resize the browser window by even a single pixel it will suddenly jump into place.

Image

I think somehow this is related to the fact that the power select is being rendered inside of a scrollable element. Below a certain width my app switches to single column mode and then the parent element is not scrollable and at that size the power select opens in the right spot.

On a different screen it's offset on both sides, instead of only on the right.

Image

That one also snaps into place if the page dimensions change at all, and when the parent element isn't scrollable it opens in the right place to begin with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions