Space not registered in the html textarea on iPad
See original GitHub issueI have a codemirror instance that works fine on the desktop browser and nearly as good on the iPad Safari. The only quirk remaining is that the spaces
aren’t getting registered on iOS. Nothing happens when the spacebar is pressed on the keyboard, though occasionally it scrolls up a little bit.
I’m using the htmlmixed
mode. Any clues to where I should be looking?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Get rid of extra non-padding space in textarea (iPhone iOS 10 ...
I need the text inside a textarea to look exactly the same as the text inside a div element, including padding, etc. The...
Read more >The Textarea element - HTML: HyperText Markup Language
The HTML element represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of ...
Read more >Supported Attributes - Apple Developer
Describes the Hypertext Markup Language (HTML) tags and properties that are supported by Safari and WebKit.
Read more >How to limit the number of characters entered in a textarea in ...
In HTML, we can create form to accept and store information ... will only set the width of the textarea and it will...
Read more >HTML textarea form Attribute - W3Schools
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also meet this problem, it seems caused by the “contenteditable”, try to add the following css style textarea, [contenteditable] { -webkit-user-select: text; user-select: text; } I just make it work by doing this
This is one of many issues which are difficult to debug and solve with the fundamental approach currently taken by CodeMirror.
We are working on a rewrite (CodeMirror 6) that will overhaul input handling and should address this issue, and we are currently raising money for this work: See the announcement for more information about the rewrite and a demo.
Note that CodeMirror 6 is by no means stable or usable in production, yet. It is highly unlikely that we pick up this issue for CodeMirror 5, though.