Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

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

    Windy API v4
    4
    5
    875
    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
      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
      • 航
        航母ym last edited by

        we are anchor at yu xing nao

        1 Reply Last reply Reply Quote 0
        • ivo
          ivo Administrator last edited by

          This is BUG and will be fixed

          1 Reply Last reply Reply Quote 1
          • fastseas
            fastseas 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
            • ivo
              ivo Administrator last edited by

              Will be fixed soon

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
              NodeBB & contributors, OSM & contributors, HERE maps
              Terms and Conditions     Privacy Policy