Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presentation in the studio does not have consistent field focus behaviour #600

Open
bryanjhickey opened this issue Dec 20, 2023 · 2 comments
Labels
bug Something isn't working triaged

Comments

@bryanjhickey
Copy link

bryanjhickey commented Dec 20, 2023

Clicking on items in the Presentation view does not locate the correct field and focus on it. Some fields (title) do not work in the presentation view at all.

A clear and concise description of what the bug is.

  1. Deploy Repo as per README
  2. Add CORS for deployment URL
  3. Add Sample Data for Home and Showcase
  4. Open Presentation view and click fields

Expected behavior

A clear and concise description of what you expected to happen.

We expect the elements I click on to be focused within the document.

Screenshots

See loom video - https://www.loom.com/share/e26f8ff83a0e4fe48e5fbf5a52caa0ba?sid=a07755fd-c206-40ff-a9f4-38b09d8675e8

URL: https://nextjs-sanity-presentation.vercel.app/

Which versions of Sanity are you using?
As per project.json

What operating system are you using?
Mac OS 14.1.2

Which versions of Node.js / npm are you running?
Vercel default 18.x

@Galanthus
Copy link

Facing the exact same problem.

@stipsan stipsan transferred this issue from sanity-io/template-nextjs-personal-website Jan 2, 2024
@stipsan stipsan added triaged bug Something isn't working labels Jan 2, 2024
@bryanjhickey
Copy link
Author

This has partially been resolved.

Arrays of block type (i.e. portable text) now receive a focus state (blue ring) for the array and the block within the array! Types of text do receieve a focus state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged
Projects
None yet
Development

No branches or pull requests

3 participants