You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accessing all keys in the window object leads to an reflow at line 41 in index.js. A fast and dirty workaround of me would be to avoid all attributes with with or height in it.
As I don't understand the reason for the function completely I'm not really able to propose a correct pull request. That's why I just raised an issue. I hope that's okay.
The text was updated successfully, but these errors were encountered:
The purpose of the line is to locate browser bugs - the purpose of the blacklisted keys is to avoid accessing any problematic window keys. I wasn't aware that simply accessing width and/or height caused a reflow :-/ the proper solution will be to add them to the exclusion list.
Accessing all keys in the window object leads to an reflow at line 41 in index.js. A fast and dirty workaround of me would be to avoid all attributes with with or height in it.
if(k.toLowerCase().indexOf('width') > -1 || k.toLowerCase.indexOf('height') > -1) continue;
As I don't understand the reason for the function completely I'm not really able to propose a correct pull request. That's why I just raised an issue. I hope that's okay.
The text was updated successfully, but these errors were encountered: