Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Graphical update-state box position within OTA notifications #2033

Open
LaurentChardin opened this issue Jun 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@LaurentChardin
Copy link
Contributor

LaurentChardin commented Jun 4, 2024

What happened?

Initially reported on Z2M issue liste : Koenkk/zigbee2mqtt#22806

Quick investigation suggests the culprit is the react-notifications-component which seems to have an issue clearing out the DOM under frequent load of notifications: teodosii/react-notifications-component#157

What browsers are you seeing the problem on?

Firefox, Chrome, Safari

Relevant stacktrace

No response

Did you download state.json.zip?

I will not attach state.json.zip

@LaurentChardin
Copy link
Contributor Author

LaurentChardin commented Jun 4, 2024

teodosii/react-notifications-component#149

A bit more of potential reasons : when window/tab is not in focus or inactive, the animation is paused, leading to the DOM not being cleared and the notifications will remain visible, stacking up. This is usually true for OTA as this is a long process (more than 25mn), i suspect people moving out of focus of the window, pausing it, and therefore leading to the stacking issue.

Can probably be easily tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant