Closed not-matthias closed 3 years ago
I think the nth-child
css attribute could be the cause of it.
Edit: NOPE
After some debugging, I've found the problem. It's in the options menu. We are using multiple treeview elements.
So when we first set Hide Followed Channels
, the following will be sent to content.ts
:
[0]
When we open the options menu again, the same thing will be sent.
Now if we enable Hide Channels
another id will be sent. The id of the Home
treeview. So the following will be sent to content.ts
:
[7]
The content script now believes, that 0
has been disabled and 7
enabled.
The side bar will not be hidden forever.
How to reproduce:
Recommended Items
moduleResult: The side nav will be shown again once the recommended items will be shown again