I have ported the keyboard portion of this example onto an esp32 with touchscreen project. The keyboard pops up fine and disappears as described in the code. But it just disappears after the animation time elapses. There is no animation played back, however when changing tabs animation works fine. I have checked lv_conv.h if I have missed anything, but could not find anything.
I find it rather confusing that one animation plays fine, but this one would not.
What MCU/Processor/Board and compiler are you using?
ESP32, ILI9341 with 4-wire touchscreen.
Code to reproduce
#if LV_USE_ANIMATION lv_anim_t a; a.var = kb; a.start = lv_obj_get_y(kb); a.end = LV_VER_RES; a.exec_cb = (lv_anim_exec_xcb_t)lv_obj_set_y; a.path_cb = lv_anim_path_linear; a.ready_cb = kb_hide_anim_end; a.act_time = 0; a.time = 300; a.playback = 0; a.playback_pause = 0; a.repeat = 0; a.repeat_pause = 0; lv_anim_create(&a); #else
the kb_hide_anim_end callback is executed fine after 300ms, hence I assume setup of the animation is correct. It also works fine in the demo with the browser.
What am I possibly overlooking?