nextcloud-libraries / nextcloud-libraries/nextcloud-vue
`NcRichContenteditable` shows unexpected autocomplete picker on the page corner after pasting text
Open
Nobody has claimed this yet.
1. to develop
bug
feature: rich-contenteditable
- Dominant language
- Vue
- Stars
- 246
- Forks
- 99
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 103
Description
Steps to reproduce
- Open https://nextcloud-vue-components.netlify.app/#/Components/NcRichContenteditable
- Select anything with
@autocomplete - Past any text
Expected behavior
Nothing happened
Actual behavior
Unexpected autocomplete opened on 0:0 position of the page

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
Start with the NcRichContenteditable component in the linked component demo and reproduce the issue by opening @ autocomplete, then pasting text. Trace how the paste event and autocomplete state interact, and verify that pasting no longer opens the picker at the page corner while normal @ autocomplete still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100