s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266
https://valencia.lbsfilm.at/midterm-presentation/
Other
896 stars 166 forks source link

Panel gets deleted after it was hidden and browser refreshed. #303

Open Kower999 opened 3 months ago

Kower999 commented 3 months ago

Hi i've encountered strange issue with panels that are deleted after they were hidden by setting visibility to false by using updateVisibility function and browser refreshed after that.

im using ESP32 wroom 32

this issue is not related to client device nor browser.. ive tried to reproduce it on mobile and also on computer ive also tried chrome and edge browsers always it behave same .. if you hide panel by setting visibility to false and refresh browser it cannot be brought back to visible state .. by investigating DOM ive found out element is not there anymore (after browser refresh) like it should be it should be hidden (display:none)

to get to working state only restarting ESP works (readding controls/panels)

my setup was like this: on tab1 ive put pad control on its own panel and 2x sliders together on another panel im hiding one of those panels containing one or another controls by toggling switch using updateVisibility function

hope this info will help to reproduce the issue

note: not only panel is missing but also controls it should contain (pad or sliders - tested)