Files
webstudio/packages
Ivan Starkov 47668a36db fix: Select jumps if list is scrollable (#4365)
## Description

Up Down arrows in case of huge list caused list jumps, and hover lost in
some cases


![image](https://github.com/user-attachments/assets/4f30660d-182a-46b3-954d-931ec73c1303)

Replaced with scroll


![image](https://github.com/user-attachments/assets/b067fec5-e78b-4077-8403-345214c33233)

No jumps.

Both solution shows that select list has overflow. Scroll has no visual
issues.

## Steps for reproduction

1. click button
2. expect xyz

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env` file
2024-11-05 00:06:48 +04:00
..