Giter Site home page Giter Site logo

Comments (5)

curiousdannii avatar curiousdannii commented on June 11, 2024

So apparently Chrome has never properly supported keypress: scottjehl/Device-Bugs/issues/20, Chromium bug
I wouldn't have noticed until recently though because on my old phone I used the Android browser rather than Chrome.

And it turns out that the keypress event is actually deprecated now?!

from parchment.

qdacsvx avatar qdacsvx commented on June 11, 2024

The same bug occurs in mobile Firefox.

from parchment.

cibersheep avatar cibersheep commented on June 11, 2024

Same behavior on Ubuntu Touch (default browser is Oxide, a fork of Chromium(

from parchment.

WakeRealityDev avatar WakeRealityDev commented on June 11, 2024

With a USB, Bluetooth or other "hard keyboard" on Android 7, the 'char input' menu in degen.z5 works fine for me on Android 7's Chrome browser.

Maybe an alternate soft keyboard works around the issue? It could be a lack of input focus on where the keystrokes are going (there is no blinking cursor anywhere, see also issue #27). Maybe an explicit JavaScript call to put focus somewhere could be added? Maybe a transparent html input or textarea tag ?

from parchment.

curiousdannii avatar curiousdannii commented on June 11, 2024

Character input is working in my new AsyncGlk library, which you can test here (note many other things are not implemented yet):

https://curiousdannii.github.io/parchment-testing/?story=https://ifarchive.org/if-archive/games/zcode/Savoir-Faire.zblorb

One limitation is that there is no way I can see of supporting function keys with a mobile virtual keyboard. It would be possible to add our own extra menu for function keys though.

from parchment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.