Skip to content

Selection list does not close after outside click #31415

@CSalih

Description

@CSalih

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

admin/ui

Describe the bug

The selection list component remains open after a user clicks outside. This behavior causes a weird issue, as the dropdown does not close as expected, multiple other selection list elements are opened at the same time.

image

Version

25.0.0 - 25.0.2

Regression

  • The issue is a regression

Expected behavior

When a user clicks outside of the selection list or selects an option from the list, the selection list should close automatically.

Actual behavior

The selection list remains open even after a user clicks outside. Users need to manually click on the component again to close it.

How to Reproduce?

  1. Goto Admin Console (http://localhost:8080/admin/master/console/)
  2. Goto Realm Settings > Themes (http://localhost:8080/admin/master/console/#/master/realm-settings/themes)
  3. Click on any selection list e.g. "Select email theme"
  4. Click on an different selection list e.g. "Select admin theme"

Note that any selection list has this issue not just in themes.

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions