Lundalogik / lime-elements

Provides reusable web components for Lime CRM
https://lundalogik.github.io/lime-elements/versions/latest
Other
38 stars 11 forks source link

A multiselect list in a limel-select scrolls up automatically #1386

Closed IsraelTekahun closed 2 years ago

IsraelTekahun commented 2 years ago

Current behavior

When a user clicks on a checkbox in a limel-select that contains a long list, the dropdown menu scrolls up to the top automatically. Nothing fails but it can be an unpleasant experience for a user to constantly keep scrolling down to click on more checkboxes.
The template I used in my project is taken from Select multiple values/ favorite heroes

Captureffd

Steps to reproduce the behavior:

  1. Render a limel-select that contais several checkbox items so you have to scroll further down to be able to see all the items. Then click on the last item.

Expected behavior

It should stay scrolled down and it should not shoot up automatically in the time of clicks.

Environment

anderssonjohan commented 2 years ago

Perhaps a duplicate of #1268 ?