[🐛 Bug]: Close notification popup will accidentally close any opened window
Hi, I notice that whenever I click the X button to close the notification popup, it will close the current open window.
https://github.com/user-attachments/assets/52dedfee-adbd-4c1d-981f-5a554ef566a0
The issue you're experiencing might be related to how the clearAndClose function is implemented. This function is responsible for handling the close action of the notification popup. It resets the state and calls the handleClose function, which includes a toggle function that might be affecting other components or windows [1][2].
To address this, you might want to review the toggle function within the handleClose implementation to ensure it doesn't unintentionally affect other open windows. Additionally, check if there are any shared event listeners or handlers that could be causing this behavior.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other