Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Calculates of dropdown position lead to scrollbar flickering #1583

Open
@lexey111

Description

@lexey111

Hi,
we're using custom scrollable container and ui-select inside. It looks like calculateDropdownPos leads to flickering the scrollbar if position set to 'auto' and long select is placed at the bottom of form.

I did some quick search and change function a bit: except just dropdown[0].style.opacity = 0; ... dropdown[0].style.opacity = 1; I added dropdown[0].style.position = 'fixed'; ... dropdown[0].style.position = 'absolute'; to move dropdown out of page flow temporary.

It solves the problem. Unfortunately I can't make PR due to some reasons, but I think this is not very big change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions