Closed petersoltys closed 1 year ago
Hi I am new to programming, and facing the same issue regarding (layout is not refreshing during the dynamic change in number of cards), may I know how did you fix this issue.
Hi Zen, sure no problem. there is simply difference in tag inside source code of browser JS and arduino C++ code. as visible in patch simply replace line
_ws->textAll("{\"command\":\"refreshLayout\"}");
with updated tag name
_ws->textAll("{\"command\":\"refresh:layout\"}");
Thanks for the explanation, it works for me now.
Fixed with this commit: https://github.com/ayushsharma82/ESP-DASH/commit/21fe2f6ea816d2bd583dadb21db0f81d6b6654e2
Thanks for pointing out!
after short investigation I have find out that command generated in arduino is not the same as in javascript here is patch