wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
748 stars 727 forks source link

UI issue in role based outbound provision dropdown menu #20983

Closed sadilchamishka closed 1 month ago

sadilchamishka commented 2 months ago

Describe the issue:

When clicking the dropdown menu without selecting an option leads to get selected an item from the dropdown unintentionally.

https://github.com/user-attachments/assets/a0612d74-8ded-47d1-93a8-eaea685d2280

Achintha444 commented 2 months ago

@sadilchamishka this is the default behaviour of the semantic dropdown component. To fix this we need to move this to oxygen-ui dropdown component.

sadilchamishka commented 2 months ago

@sadilchamishka this is the default behaviour of the semantic dropdown component. To fix this we need to move this to oxygen-ui dropdown component.

Okay. Thanks @Achintha444 for the input.

dasuni-30 commented 2 months ago

This is the default behavior of the semantic UI dropdown component and we can fix this by adding the following prop to the component.

selectOnBlur={ false }
dasuni-30 commented 1 month ago

Verified in the pack

https://github.com/user-attachments/assets/f9f4961a-3b65-4dcd-87c6-7afd168ab3fd