Forced reflow while executing JavaScript took 44ms

Auguste
257 Posts
Auguste posted this 01 June 2019
Ask a Question

Can you help me ?

I have this message in Google Chrome Tools "[Violation] Forced reflow while executing JavaScript took 44ms"
I have attached a screenshot.

Thanks

Can you help me ? I have this message in Google Chrome Tools "[Violation] Forced reflow while executing JavaScript took 44ms" I have attached a screenshot. Thanks
Vote to pay developers attention to this features or issue.
4 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 04 June 2019

Christophe,

Please temporary disable your AdBlocker and try again.

...................................................
Sincerely,
Chris
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Christophe, Please temporary disable your AdBlocker and try again. ................................................... Sincerely, Chris Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Auguste
257 Posts
Auguste posted this 04 June 2019

Thanks Chris !

Thanks Chris !
Support Team
Support Team posted this 05 June 2019

Hi Christophe,

You are welcome. Feel free to contact us on any other occasion.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Christophe, You are welcome. Feel free to contact us on any other occasion. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
onurcelik
1 Posts
onurcelik posted this 12 February 2020

I've been getting the same warning..
While I was trying to fix this issue I found out that this warning comes from "window.innerWidth" property..
I've tried using "document.documentElement.clientWidth" instead of "window.innerWidth" to get window width and it seems fixed for now.
here is the working code for me;

if (typeof window.orientation !== 'undefined') {
var windowW = document.documentElement.clientWidth;
}else{
var windowW = window.innerWidth;
}

I've been getting the same warning.. While I was trying to fix this issue I found out that this warning comes from "window.innerWidth" property.. I've tried using "document.documentElement.clientWidth" instead of "window.innerWidth" to get window width and it seems fixed for now. here is the working code for me; if (typeof window.orientation !== 'undefined') { var windowW = document.documentElement.clientWidth; }else{ var windowW = window.innerWidth; }

Last edited 27 February 2020 by Support Team

You must log in or register to leave comments