see doc on touch events:
https://developer.mozilla.org/en-US/docs/Web/API/Touch_events
note: its more your new device than windows version.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I wrote a mvc core app with some vanilla Javascript for windows 10. However, in w11 some behavior is a little bit different when using a touch screen laptop. Generally speaking, are there books or docs that describe how to improve Javascript for w11 for touch screens?
see doc on touch events:
https://developer.mozilla.org/en-US/docs/Web/API/Touch_events
note: its more your new device than windows version.
Hi @Coreysan
However, in w11 some behavior is a little bit different when using a touch screen laptop.
For the different behavior on different machine, there could be several reasons, such as: environments, JavaScript Package/framework/plugin version, different kind of browser, different browser version and so on. So, you'd better to check if you modified your code? whether you are using different version of JS and browser version? And you can also use browser Developer Tools to check if there any error?
If the issue related the JS version or browser version, you could change them to use the same version, then clear the browser data (cache session and so on) and run your application again.
If you are using the same code, same JS version and same browser, and still meet this behavior, the issue might relate the vanilla JavaScript, you can contact the vanilla JavaScript forum.
I wrote a mvc core app with some vanilla Javascript for windows 10.Generally speaking, are there books or docs that describe how to improve Javascript for w11 for touch screens?
For this issue, it depends on which kind you vanilla JavaScript? Can you explain more detail about the “vanilla JavaScript”, is it a third-party JavaScript package/framework/plugin? And then, you can search the vanilla JavaScript related documentation and learn how to use it.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Dillion