Translate modal: Cannot select source language unless source text is clicked
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Describe the bug
The source language dropdown is disabled by default. Only when clicking the source text field the dropdown menu becomes active.
Related: https://github.com/nextcloud/text/issues/5127
Steps To Reproduce:
- Write some longer text
- Click on ... -> Translate
- Try clicking on "Detect language"
Actual behaviour
The dropdown is disabled.
Expected behavior
The dropdown menu to select the source language should be active.
Screenshots
Note the mouse cursor in the screenshot, showing the disabled sign (in KDE Plasma's cursor style).
Server details:
- Nextcloud version: 28.0.0.11
- PHP Version: 8.1
- Database: MariaDB
Client details:
- OS: Ubuntu 23.10
- Browser: Firefox 120.0.1
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 Translate modal using the listed steps, then inspect the modal's source-language dropdown behavior and its relationship to the source text field. Done means “Detect language” and the source-language selector are active immediately when the modal opens, without clicking the source text first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100