zigbee2mqtt-frontend icon indicating copy to clipboard operation
zigbee2mqtt-frontend copied to clipboard

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

Open LaurentChardin opened this issue 1 year ago • 1 comments

What happened?

Initially reported on Z2M issue liste : https://github.com/Koenkk/zigbee2mqtt/issues/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: https://github.com/teodosii/react-notifications-component/issues/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 avatar Jun 04 '24 18:06 LaurentChardin

https://github.com/teodosii/react-notifications-component/issues/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.

LaurentChardin avatar Jun 04 '24 22:06 LaurentChardin

What's the current state on this?

Thank you!

Grandma-Betty avatar Oct 22 '24 14:10 Grandma-Betty

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 25 '25 02:02 stale[bot]