element-hq / element-hq/element-web

Styled Dropdown component has odd highlighting

Open
#19,031 2 comments 0 reactions 0 assignees View on GitHub
O-Occasional S-Tolerable T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Right click on a space in the left panel -> "Add space"
2. Open permission drop down and see this:
![Screenshot from 2021-09-14 13-49-18](https://user-images.githubusercontent.com/51663/133262276-a46d0464-b0aa-4772-8561-03f5f9eaf8c4.png)

### What happened?

### What did you expect?
Either nothing is highlighted or the correct list item is

### What happened?
Wrong list item was highlighted and highlighting behaviour seems to remember what was highlighted between expand/collapse actions

### Operating system

_No response_

### Browser information

_No response_

### URL for webapp

develop.element.io

### Homeserver

_No response_

### Have you submitted a rageshake?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.