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
Description
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.