That's the core idea behind InteractionDialog as opposed to dialog. It was designed for floating not as a blocking dialog.
You can override pointer events in the form and block events that are outside of the bounds of the dialog. On Tuesday, December 15, 2020 at 11:42:19 AM UTC+2 P5music wrote: > I am using InteractionDialog for the utility dialogs class of my app. > Some dialogs can be dismissed just with the user touching outside, others > cannot, according to how the user eperience is designed. > > In both cases > I see that touching outside cause the mouse event being consumed by the > underlying form components, that is unwanted and bad behaviour. > > How is it possibe to avoid this? > > Thanks in advance > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/04bfa430-0118-4888-93ef-2fb1f01016aen%40googlegroups.com.
