Skip to content

Added disabled option for LiveEditor so that it does not steal focus - Closes issue #2409 - #2423

Merged
pwizla merged 3 commits into
strapi:nextfrom
ankit7201:next
Mar 10, 2025
Merged

pwizla merged 3 commits into
strapi:nextfrom
ankit7201:next

Conversation

@ankit7201

Copy link
Copy Markdown
Contributor

What does it do?

Added disabled option for LiveEditor so that it does not steal focus from endpoint textbox after every character input

Why is it needed?

The LiveEditor was stealing focus from endpoint input box. This seems to be an issue with the LiveEditor using useEditable hook.

Related issue(s)/PR(s)

#2409

@ankit7201
ankit7201 requested a review from pwizla as a code owner March 10, 2025 15:31
@strapi-cla

strapi-cla commented Mar 10, 2025 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@vercel

vercel Bot commented Mar 10, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 10, 2025 4:39pm

…from endpoint textbox after every character input
@pwizla
pwizla merged commit 7846ed7 into strapi:next Mar 10, 2025
@pwizla

pwizla commented Mar 10, 2025

Copy link
Copy Markdown
Collaborator

Perfect, thank you very much! I tested it on the Vercel preview URL and it works perfectly now I believe.
So the PR is now approved, merged, should be live on docs.strapi.io in a few minutes, and will be mentioned in the next weekly snapshot release.

@pwizla pwizla added this to the v5.6.4 milestone Mar 10, 2025
@pwizla pwizla self-assigned this Mar 10, 2025
@pwizla pwizla added source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo pr: chore temp - port to docs-next (Temporary label) The content of this PR should be ported to docs-next.strapi.io labels Mar 10, 2025
@pwizla pwizla changed the title Added disabled option for LiveEditor so that it does not steal focus - Closes #2409 Added disabled option for LiveEditor so that it does not steal focus - Closes issue #2409 Mar 12, 2025
@pwizla pwizla removed the temp - port to docs-next (Temporary label) The content of this PR should be ported to docs-next.strapi.io label Mar 20, 2025

This branch was successfully deployed

1 active deployment
Preview — 7fd92925 Deployed Mar 10, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: chore source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants