When msgbox popup, how to prohibit other wigets get focus(

I just running the lv_demo_widgets.c example, it will create the msgbox.

when messagebox popup, how to let other widgets ignore the input、click event?

i think the messagebox show the user’s error or waning info, without user confirmed(click ok or cancel button), we should’t click other widget. so , how to complete this function?

if i don’t click ok or cancel button which in messagebox, other widgets shouldn’t valid, but the text input get focus when i touched.

Did you look at the documentation? https://docs.lvgl.io/latest/en/html/widgets/msgbox.html#modal

yes, it works, thks。 →_→