Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.56k stars 345 forks source link

Organisation/project dropdown not reset after closing #4257

Open rolodato opened 6 days ago

rolodato commented 6 days ago

How are you running Flagsmith

Describe the bug

When opening the organisation and project dropdown selector, I expect that it should always default to having the current organisation and project shown and selected:

image

However, if you hover over a different organisation, close the dropdown and then open it again, the state is preserved and is not reset to the current organisation/project:

https://github.com/Flagsmith/flagsmith/assets/829698/bb24c945-fb51-4c5b-bc4b-475d809d3566

Steps To Reproduce

See video above.

Expected behavior

When opening this dropdown it should always reset to the current organisation/project.

Screenshots

No response