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
A wheel event listener is added to the document element after smooch loads. This causes a performance hit while scrolling the pages where smooch.js is included.
What's the reason for this event to be added? The scroll event listener is also present and doesn't affect scrolling performance that much.
The issue can be seen in Chrome dev tools, in the rendering tab by enabling the scrolling performance issues checkbox.
The text was updated successfully, but these errors were encountered:
Seems like React does that by itself based on facebook/react#1254. From what I understand from this issue is that whenever you use onWheel in your React tree, it will bind it to the document too which is not really desired.
I checked where we use onWheel and I'll bring it up to the team to see how we could work around this problem.
A wheel event listener is added to the document element after smooch loads. This causes a performance hit while scrolling the pages where smooch.js is included.
What's the reason for this event to be added? The scroll event listener is also present and doesn't affect scrolling performance that much.
The issue can be seen in Chrome dev tools, in the rendering tab by enabling the scrolling performance issues checkbox.
The text was updated successfully, but these errors were encountered: