iOS: Menu is not working if overlapping selected text
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Actions Performed
- Open the Nextcloud iOS app
- Login
- Select a folder and add a new text file
- Copy & paste +1000 words
- Tap on done
- When green checkmark is shown on file open it again
- Mark some text
- Now use different options like bold etc.
- Close, reopen and repeat previous step
Expected Result
Selected menu option is carried over
Actual Result
At some point the menu options are not carried over anymore and text remains unchanged. Happens on iPad with some options as well.
Analysis
It turns out iOS will not pass though touch/click events for anything that is overlapping with the selection (e.g. bold/italic/underline, parts of strikethrough in the following screenshot):
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Nextcloud iOS app by creating a long text file, selecting text, and using formatting options such as bold, italic, underline, or strikethrough. Investigate the text editor's formatting menu and iOS touch handling; done means selected formatting actions still apply when menu controls overlap the selection and remain after reopening the file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100