jwstegemann / fritz2

Easily build reactive web-apps in Kotlin based on flows and coroutines.
https://www.fritz2.dev
MIT License
653 stars 28 forks source link

Fix Selection Behaviour of ListBox #842

Closed Lysander closed 8 months ago

Lysander commented 8 months ago

Due to PR #833 the closing mechanism of headless listbox has changed, so that clicking / pressing enter or space on the previously selected item did not close the listbox anymore. This commit restores the previous and desired behaviour again.

In order to avoid future regressions, a dedicated playwright test is added.