I use Enhanced 3.2 display. On button click events I have functions to be executed in my ESP32 code. What happens very often on click: button image changes to pressed, but event function is not executed. It takes more than one attempt to execute it properly. It is very confusing to the users and misleading as they have the impression that click action was performed whereas in fact it was not.
Did anyone encounter this problem and what is the solution?
I was thinking of workaround to keep both images the same and change image to pressed and back in my code, but it defeats the idea of containing UI related routines to Nextion.
It is very frustrating.