Download Free Trial

Event handler for full screen, the screen is never re-established on Firefonx and Edge


I need help with a event handler for full screen. We have a 2.4 version.
This is the code on custom toolbar for the fullscreen:

        if (document["addEventListener"] !== undefined) { // For IE8
                id: "fm-tab-fullscreen",
                handler: "fullscreenHandler",
                mobile: false,
                icon: customIcons.fullscreen,
                rightGroup: true

The event fullscreen is Ok, the window turn on full screen. But, the screen is never re-established on Firefox, Edge or IE, I type esc and never adjust. In Chrome it works fine.
Thank you for your valuable help in solving this behavior.
Oscar Malagón.


1 answer

Iryna Kulchytska Flexmonster March 1, 2018

Hello Oscar,
Thank you for posting your question on our forum.
As I can see from the PDF attached, you modified the toolbar significantly.
Could you please confirm that this behavior is not reproducible in our samples or demos but is reproducible only in your project? If yes, please check if you changed anything inside the following functions of the toolbar and if you overrode them: fullscreenHandler, toggleFullscreenisFullscreen, enterFullscreen and exitFullscreen.
If nothing was changed in these functions, the reason for the broken behavior could be in CSS of the container. A simple sample where the broken behavior is reproducible would help us catch the issue and assist you in fixing it.
Kind regards,

Please login or Register to Submit Answer