UI Bug: After print, class .fm-ui-element show on every element on page

Resolved
Fabiano asked on December 14, 2017

Hello,
 
We're having some trouble with layout after clicking print action menu.
This class "fm-ui-element" get added on every element on page (body, DIV, A...)
Then, even when cancelling print, it doesn't go back to normal. This is messing with our layout because of box-sizing css property.
 
What can I do do avoid this?

3 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster December 18, 2017

Hello Fabiano,
Thank you for reporting this issue. We have managed to reproduce it on our side. The necessary fix will be released in the version 2.411 ETA Dec18.
We will notify you when it is available on our website. 
Regards,
Dmytro.

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster December 18, 2017

Hello Fabio,
Sorry for the misunderstanding. The 2.411 version will be available on our website on the Jan02.
Regards,
Dmytro.

Public
Fabiano December 18, 2017

Ok.. in mean time, we made a temporary fix like this:
//Using $ jQuery
flexmonster.on('printcomplete', function () {
    $('#YOUR_FLEXMONSTER_DIV_WRAPPER').parents().find('.fm-ui-element').removeClass("fm-ui-element");
});

Please login or Register to Submit Answer