Just for fun...
I did chat about this subject with ChatGPT.
Following is the last answer from ChatGPT
---
The message "Unable to preventDefault inside passive event listener due to target being treated as passive" in the Edge DevTools indicates that there is a passive event listener on the web page that is trying to call preventDefault()
. However, passive event listeners are not allowed to call preventDefault()
, as they are intended to improve scrolling performance and should not interfere with the default browser behavior.
The fact that you're seeing this message repeatedly as you scroll with two fingers on the touchpad suggests that the PAW web application might be using passive event listeners in its scripts, which is triggering this warning message.
This warning is generally not a critical error and is meant to be informative for developers to optimize event handling. However, it's possible that this warning is somehow interfering with the touchpad scrolling behavior in PAW on your Microsoft Surface laptop.
As an end-user, there's not much you can do directly to resolve this warning in the PAW application's scripts, as it would require modifications to the application's codebase.
However, you can try the following suggestions to mitigate the impact of this warning and see if it helps improve the two-finger scrolling behavior:
-
Try Another Browser: As you mentioned you've already tested both Chrome and Edge, consider trying other browsers like Firefox to see if the issue persists. Different browsers may handle passive event listeners differently, and this could affect the scrolling behavior.
-
Contact PAW Support: Reach out to the support team for Planning Analytics Workspace and inform them about the warning message you've encountered in Edge DevTools. Provide them with details about your Microsoft Surface laptop, the browser versions tested, and the behavior you are experiencing with two-finger scrolling. They might be able to investigate the issue further and provide guidance or updates related to this specific warning.
-
Wait for Updates: As this warning is related to the web application's scripts, it's possible that the PAW development team may address this issue in future updates. Keep an eye on any new releases or updates for the PAW application and test if the issue is resolved with newer versions.
-
Temporary Workaround: While waiting for a resolution, you can continue using keyboard-based scrolling as a temporary workaround. Most touchpads support keyboard shortcuts for scrolling (e.g., using the arrow keys or page up/page down keys).
In summary, the warning message you see in Edge DevTools is likely related to the PAW web application's scripts. Since you've already tried various troubleshooting steps and tested different browsers, it's essential to reach out to PAW support and provide them with the information about the warning. They may have specific insights or updates related to this issue and its impact on touchpad scrolling behavior.
------------------------------
Asgeir Thorgeirsson
------------------------------
Original Message:
Sent: Tue July 25, 2023 09:30 AM
From: Asgeir Thorgeirsson
Subject: Touchpad scrolling problem in the PAW rules editor
Hi all!
Has anyone experienced this touchpad scrolling problem in the rules editor?
The scrollbar always jumps back to the top when scrolling with two fingers. This happens on my new Windows Surface Windows 11 laptop but not the old Lenovo Windows 10. I remember thoug having seen this behaviour some time in the past.
------------------------------
Asgeir Thorgeirsson
------------------------------