Editable: the preview is a tab stop that the keyboard can't activate outside focus mode

Open
#3,716 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@abu-tahir-0 is already working on this.

Since Dec 2, 2026.

  • #3726 by @abu-tahir-0 — open

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

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

  1. Render an editable with activationMode="dblclick" and an edit trigger.
  2. Tab into it. Focus lands on the preview.
  3. 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

IQ Industries

Dominant language
TypeScript
Stars
5.3k
Forks
320
Avg merge
1d 22h
Merged PRs (30d)
60

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from chakra-ui/zag

All issues in chakra-ui/zag

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.