acl-services / acl-services/paprika
ListBox - options list does not consistently open with selected item in view
- Linguagem predominante
- JavaScript
- Estrelas
- 54
- Forks
- 10
- Merge médio
- 1d 12h
- PRs com merge (30d)
- 6
Descrição
# Bug Report
### Observed
When an item in the ListBox options list is selected, the options list will close, but when it reopens, the list is scrolled to show the selected item at the top. When opening a second time, it does not readjust the scroll position, and if the selected item may be out of view.
### Expected
For singleselect ListBox, the selected item could _always_ be scrolled into view when the options list is opened.
Unsure how to handle for multiselect scenario.
### ScreenCap

Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
No files are specified in the report, so start by locating the ListBox implementation and the open/close + scroll behavior in the source. Reproduce the bug by selecting an item, closing the options list, reopening it, and checking whether the selected item is brought into view consistently. Run the ListBox-related tests or stories after any change, and validate done when repeated opens always show the selected option correctly in singleselect (and multiselect behavior is handled intentionally).
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript, react
- Domínio
- frontend
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- Meio dia
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 58/100