keep icon indicating copy to clipboard operation
keep copied to clipboard

[🐛 Bug]: Close notification popup will accidentally close any opened window

Open tuantran0910 opened this issue 9 months ago • 1 comments

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

tuantran0910 avatar Apr 01 '25 07:04 tuantran0910

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

dosubot[bot] avatar Apr 01 '25 07:04 dosubot[bot]