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
Browsers you attempted to reproduce this bug on (the more the merrier): Arc Browser
{
"arcVersion" : "1.60.0 (53678)",
"deviceInfo" : {
"deviceId" : "Mac15,3",
"osVersion" : "MacOS Version 14.5 (Build 23F79)"
},
}
Running with chromium : Chromium Engine Version 128.0.6613.138
Does the problem persist after removing "assets/node_modules" and trying again? Yes/no:
yes
Actual behavior
Several times I've detected a drop in framerate on local phoenix liveview applications and on sites deployed online. The drop in performance occurs during an “overscroll”, when the user uses a touchpad to scroll to the top of the page, a bounce effect is rendered and it is this animation that is slowed down.
When JavaScript is disabled, the issue disappears. The issue happens only on Arc Browser
Phoenix live view websites where the issue is detected :
Thank you for the report. If it only happens on Arc, then it may an Arc issue first and foremost. Have you tried isolating it and/or reporting it upstream?
Thank you for the report. If it only happens on Arc, then it may an Arc issue first and foremost. Have you tried isolating it and/or reporting it upstream?
Hey @josevalim ! Yes the issue as been reported to the Arc team as well 👍
Environment
1.0.0-rc.6
macOS Sonoma 14.5 (23F79) arm64
Arc Browser
yes
Actual behavior
Several times I've detected a drop in framerate on local phoenix liveview applications and on sites deployed online. The drop in performance occurs during an “overscroll”, when the user uses a touchpad to scroll to the top of the page, a bounce effect is rendered and it is this animation that is slowed down.
When JavaScript is disabled, the issue disappears. The issue happens only on Arc Browser
Phoenix live view websites where the issue is detected :
Elixir Merge
Screen.Recording.2024-09-15.at.16.46.00.mp4
Phoenix Framework website
Screen.Recording.2024-09-15.at.16.55.08.mp4
I've noticed that when a CSS animation or other continuous rendering eliminates this problem
https://github.com/MatteoGauthier/phoenix-live-perf-overscroll-arc-repro.git
Screen.Recording.2024-09-15.at.16.41.56.mp4
I think it's the bindNav method that's causing the problem, as it includes an event listener for the scroll event.
https://github.com/phoenixframework/phoenix_live_view/blob/94c87e1a25b2d25dd34ee80798abb6b961620530/assets/js/phoenix_live_view/live_socket.js#L716C5-L721C7
When this eventListener is disabled the issue disappear.
Screen.Recording.2024-09-15.at.17.02.27.mp4
Expected behavior
No performance drop on scroll
The text was updated successfully, but these errors were encountered: