Comments (5)
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.
The same bug occurs in mobile Firefox.
from parchment.
Same behavior on Ubuntu Touch (default browser is Oxide, a fork of Chromium(
from parchment.
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.
Character input is working in my new AsyncGlk library, which you can test here (note many other things are not implemented yet):
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)
- Parchment build instructions are wrong HOT 10
- The edit button in Dialog doesn't work
- The meteor, the stone and illegal objects HOT 8
- Use the proxy for everything?
- Tool to bundle any storyfile HOT 1
- TADS 3 tables, underlining, and font color HOT 4
- Should autosaves be versioned? HOT 3
- Display a notice when loading an autosave HOT 4
- Dialog stores data very inefficiently in localStorage HOT 1
- Can't build parchment on Ubuntu using README instructions HOT 2
- Counterfeit Monkey consistently fails to autorestore HOT 6
- Counterfeit Monkey freezes iPhone Safari HOT 6
- Glulx Photopia stalls after restart
- Build [ERROR] Could not resolve "node_modules/emglken/src/scare.js" HOT 1
- TADS 2 games can't save/restore HOT 4
- localStorage security error if cookies disabled
- Make tool to export localStorage files HOT 1
- Dialog: Use IndexedDB instead of localStorage HOT 1
- Consider using the compression streams API for single-file mode
- Allows margins larger than 25% HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parchment.