Kiosk mode not be exit while pressing Escape key

I’m using Grafana ‘v10.2.2’.

I’m trying to attach my dashboard to my webserver, through iframe I attached, what is my expectation is I need to show only the dashboard I don’t want to show the top menu items, only variable filter below that panels to be shown, for that I added ‘kiosk’ in my iframe url but when we press ‘Esc’ key then kiosk mode is getting exited all the menu options are showing, I don’t need that, I just need to show only dashboard without any header part and menu options. is that possible?

you can use some javascript to do this: