ember-basic-dropdown icon indicating copy to clipboard operation
ember-basic-dropdown copied to clipboard

Inconsistent vertical positioning when there are not enough space

Open andreyfel opened this issue 6 years ago • 0 comments

Imagine a dropdown when there are not enough space to render a dropdown above or below the trigger. verticalPosition is set to auto. If you click the trigger than the dropdown will appear above the trigger.

If there is enough space for the dropdown below the trigger but not enough above the trigger and you click the trigger, the dropdown is rendered below the trigger. After that you resize the page, so, that space below the trigger is shrunk, so there is not enough space for the dropdown. In this case the dropdown stays below the trigger. If you hide and show the dropdown it will reappear above the trigger.

andreyfel avatar Mar 13 '19 15:03 andreyfel