How to learn Javascript from w10 to W11

Coreysan 1,806 Reputation points
2024-01-21T07:14:49.64+00:00

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?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,097 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,777 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 71,186 Reputation points
    2024-01-22T16:39:46.0033333+00:00

    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.


1 additional answer

Sort by: Most helpful
  1. Zhi Lv - MSFT 32,941 Reputation points Microsoft Vendor
    2024-01-22T11:00:34.1566667+00:00

    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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.