Autocompleter list with a scrollbar will close list when clicking scrollbar
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 16.3k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
If you have a list of items for an autocompleter that will cause the autocompleter display (popup) to have a scrollbar, clicking on the scrollbar (or the up or down arrows in the scrollbar) will close the autocompleter popup.
To reproduce:
Go to https://www.tiny.cloud/docs/ui-components/autocompleter/#
change the columns from 'auto' to 1
copy the option -> { text: 'at', value: '@' },
paste it in 10 times
go to the editor and type in :a
attempt to click on the scrollbar
clicking on the scrollbar should not close the popup, but instead alter the scroll state
issue is visible in tinymce@5.7 (latest release as of now) but was also present in 5.2 and I would suspect most if not all past releases in the series
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 using the TinyMCE autocompleter documentation URL and the listed steps: configure one column, add repeated options, type :a, and click the scrollbar. Trace the popup's response to scrollbar clicks; done means the popup remains open and the scrollbar changes the scroll position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100