This should not happen in fullscreen mode. Was minecraft running like that? We will check it anyway. Btw there is some kind of solution: setting->general->notifications->silent mode (in paid version, you can enable showing detection dialogs).
Thank you for reporting.