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
I was doing some digging around the code and noticed the _getElementRect method returns a new object. For this particular method/instance, it runs this method EVERY frame the mouse/touch moves. This is poor practice, see the test here.
Creating some kind of static object like _lastElementRect with the properties top, left, right, and bottom and reseting those values every time the _getElementRect is called instead of the newly created object will help performance a lot.