Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    If I use api v4 (JS), I can not work the general keyboard shortcuts in my site.

    Scheduled Pinned Locked Moved Windy API v4
    5 Posts 4 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      k_shinohara
      last edited by

      If I use api v4 (JS), I can not work the general keyboard shortcuts in my site.

      Keyboard shortcuts that can not be used are:

      • Copy, Paste. (Ctrl + C, Ctrl + P)
      • Move link with tab. (Tab)
      • Focus to address bar. (Ctrl + L)
      • Reload the page. (Ctrl + R)
        etc..

      This is so inconvenience for the user.
      If the user can not use the keyboard shortcuts at the api v4, we can not set api v4 in our site.
      Api v3 (iFrame) is no problem. we use api v3 now.
      Please fix to be able to use the keyboard shortcuts at the api v4.

      OS and browser that can not be used are:

      • Windows: Chrome, Edge
      • Mac: Chrome, Firefox, Safari
        (Internet Explorer 11 can not load the JS of api v4)

      The site that can not be used are:

      • Our test site.
      • Windy api site.
        https://api4.windy.com/
        (I can not copy and paste the api code, it is so inconvenient.)

      Thank you.

      1 Reply Last reply Reply Quote 1
      • 航 Offline
        航母ym
        last edited by

        we are anchor at yu xing nao

        1 Reply Last reply Reply Quote 0
        • ivoI Offline
          ivo Windy Staff
          last edited by

          This is BUG and will be fixed

          1 Reply Last reply Reply Quote 1
          • fastseasF Offline
            fastseas External Developers Sailor
            last edited by

            Hi @ivo. Any news on this one? This is a blocker for me too. Looks like the API registers a "keydown" event listener on body and then prevents propagation (preventDefault) - swallowing the event. Renders all form elements inoperative.

            1 Reply Last reply Reply Quote 0
            • ivoI Offline
              ivo Windy Staff
              last edited by

              Will be fixed soon

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Windy Community  |  Powered by excellent NodeBB
              Terms of Use     Privacy Policy     Windy.com