s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266

Home Page:https://valencia.lbsfilm.at/midterm-presentation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Panel gets deleted after it was hidden and browser refreshed.

Kower999 opened this issue · comments

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)