Skip to content

found an UI glitch #857

Closed
Closed
@xmluozp

Description

@xmluozp

When the text inside options are too long, the first render will make the dropdown box on wrong position
image

direct cause:
when first render. the container calculates the "translate" based on width of the option box. In my case its:
transform: translate(-263px, 38px);

however its based on oversized text box (the class ".dropdown-item") which causes the issue.
once you scroll it, then it will be auto adjusted.

my current workaround is to hardcode width of ".dropdown-item"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions