Ionaru / Ionaru/easy-markdown-editor

Keyboard word suggestion not working on iphone xs (Safari and Firefox)

Open
#113 4 comments 0 reactions 0 assignees View on GitHub
Bug Help wanted
Dominant language
JavaScript
Stars
3.1k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When clicking on the word suggested by the keyboard in does not enter the word into the editor. I have tested it on both firefox and safari on my iPhone and it fails on both but on my Samsung it works perfectly.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://codepen.io/oliv95/pen/qBWqRdv
2. Type some text
3. Click on one of the suggested words
4. Word is not entered into the editor

**Expected behavior**
Keyboard suggested word feature should enter the clicked word into the editor

**Screenshots**
In the screenshots I selected 'the' on iOS and 'again' on Android

![android1](https://user-images.githubusercontent.com/8543180/63417951-89a85580-c402-11e9-9adc-afb227278752.jpg)
![android2](https://user-images.githubusercontent.com/8543180/63417950-89a85580-c402-11e9-83ce-ecaf94b06446.jpg)
![iOS1](https://user-images.githubusercontent.com/8543180/63417953-8a40ec00-c402-11e9-9a08-149d2067cd7a.png)
![iOS2](https://user-images.githubusercontent.com/8543180/63417952-8a40ec00-c402-11e9-9939-6d00380fad44.png)

** Version information **
- OS: [iOS 12.3.1]
- Browser: [iOS Firefox 18.2, iOS Safari 12]
- EasyMDE version: [2.8.0]

**Additional context**
I have tested in on a Samsung 8A with firefox and it works as is shown in the screenshots

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue from the linked CodePen on iOS Safari and Firefox, then compare the same steps on the reported Samsung Firefox setup. Start by tracing how EasyMDE 2.8.0 receives editor input after an iOS keyboard suggestion is selected. Done means the suggested word is inserted into the editor on both reported iOS browsers without regressing the working Android behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.