а

Full screen mode


#1

when I use the full_screen model the broswer tell me “The fullscreen feature not being allowed, or full-screen mode not being supported”. I also import the extensions file ‘dhtmlxgantt_fullscreen’. please hellp me


#2

Hello,
Looks like, the issue happens in Firefox and its forks. The fullscreen functionality works correctly in our sample:
https://docs.dhtmlx.com/gantt/samples/02_extensions/11_full_screen.html
But it in snippets, it doesn’t work:
http://snippet.dhtmlx.com/4050caaa8
I suppose it happens because of iframes.
MDN says that you need to add the allow="fullscreen" property to the iframe:


https://developer.mozilla.org/ru/docs/Web/API/Document/fullscreenEnabled

I cannot reproduce the issue locally and cannot fix it in the snippets (probably, because the HTML structure for iframes is not supposed to be editable, but it is only my suggestion).

If you send me a local sample where I can reproduce the issue, I will try to fix it.