Editable: the preview is a tab stop that the keyboard can't activate outside focus mode
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- accessibility, frontend
Research direction
Start from the editable example and find where activationMode controls preview keyboard behavior and tab stops. Reproduce the reported dblclick case by tabbing to the preview and pressing Enter or Space; done means either the preview is no longer a tab stop when it cannot start editing, or a key starts editing. An open linked pull request (#3726) already addresses this issue.
Written by the indexing model from the issue text.
Description
🐛 Bug report
An editable's preview is always a tab stop, but only activationMode="focus" lets the keyboard start editing from it. In click, dblclick and none modes, Tab lands on the preview and no key does anything there.
💥 Steps to reproduce
- Render an editable with
activationMode="dblclick"and an edit trigger. - Tab into it. Focus lands on the preview.
- Press Enter or Space. Nothing happens. Tab again to reach the trigger.
💻 Link to reproduction
No sandbox yet. The steps above reproduce it on the editable example.
🧐 Expected behavior
Either the preview isn't a tab stop when focus can't start editing, or Enter starts editing from it.
🌍 System information
| Software | Version(s) |
|---|---|
| Zag Version | 1.49.0, and 2.0.0-next.4 |
| Browser | Any |
| Operating System | Any |
🧢 Your Company/Team
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 320
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 60
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from chakra-ui/zag
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
date-input: zoned values show in the timeZone prop (UTC) instead of their own zonePossibly taken @Yahiro025 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
dismissable: LayerDismissEvent isn't exportedPossibly taken @abu-tahir-0 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Slider: marker data-state ignores origin "center" / "end"Possibly taken @itisrmk claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
Similar issues
-
bug engine
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
frostney/GocciaScript#2539 ·
Maintainers usually reply within 1 day
-
Fish Audio Live calls fail to start: `Unknown callback "onNotice"` from @fishaudio/agent-clientPossibly taken @NEAL3K claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
milind-soni/OpenMausBot#8345 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ardia-browser/ardia#6142 ·
Maintainers usually reply within 1 day
-
feature
Difficulty 1/5 Under an hour Newbie friendliness 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Maintainers usually reply within 1 day
-
bug from-app needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nightly-labs/openbot#21303 ·
Maintainers usually reply within 1 day