Micro lag when scrolling in Tauri macOS version (WKWebView) but not in Safari. #8436
Replies: 5 comments 1 reply
-
|
It's kind of like the app is locked in 60 Hz. I use a 120 Hz display so Safari and Chrome renders in 120 Hz. Can there be such limitation in max frame rate for the app? |
Beta Was this translation helpful? Give feedback.
-
|
I have a similar problem, the app is limited to 60FPS and in the browser I get 120FPS |
Beta Was this translation helpful? Give feedback.
-
|
Hello I don't know if this is related, but have you tried passing a different browser agent to your web view? |
Beta Was this translation helpful? Give feedback.
-
|
Hello, any updates on this ? |
Beta Was this translation helpful? Give feedback.
-
|
Also on Linux ... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am working on a project that uses a relatively simple layout. The problem is that the application has a very frequent and noticeable micro lag in the macOS version when scrolling. I tried in Chrome (using localhost) and it was completely smooth, so I thought that it was a difference between the rendering engines. However, I have now also tried in Safari using localhost and it is completely smooth there as well. Since WKWebView uses the same engine as Safari, something else must cause this.
I have just recently updated macOS to ensure that I have the latest WKWebView version (19617.1.17.11.9), so the problems should not be because of an outdated version. The Safari version I am using is: ”Version 17.2 (19617.1.17.11.9)”.
May there be a setting in WKWebView to make it handle things the same as Safari? And if yes, can I change that setting in Tauri?
May it be that WKWebView doesn't prioritize to use resources like Safari?
Is there anything else that can affect this? I have optimized the layout, so it should not be heavy to scroll.
Beta Was this translation helpful? Give feedback.
All reactions