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

Figspec displays shifted element focus #249

Open
4 of 11 tasks
fadler82 opened this issue Jan 10, 2025 · 0 comments
Open
4 of 11 tasks

Figspec displays shifted element focus #249

fadler82 opened this issue Jan 10, 2025 · 0 comments
Labels
category: bug Something isn't working

Comments

@fadler82
Copy link

Affected design types

  • figma
  • figspec
  • link
  • image
  • iframe

Describe the bug

Angular 17.1 | Storybook 8.4.3

I have Figma dev mode access and am able to display figma mocks and its design properties in storybook. However when trying to hover over an element within the figma mock it does not find its focus. The focus is shifted above the element. The shifted focus applies to all elements. When shifted focus is selected, it does provide corresponding design values BUT still its weird and not very convenient.
Image
Image

How to reproduce the bug?

  1. Add figma file reference via figspec in a story
  2. hover over an element of the rendered figma file/mock
  3. element is not focused but its focus can be found above
  4. shifted focus can be selected and does display proper design values

Expected behaviour

Figma focus on elements visually aligns with corresponding elements and is not shifted.

Environment

  • Chrome / Chromium / Chromium based browsers
  • Firefox
  • macOS Safari
  • iOS Safari
  • Samsung Internet
  • Other

Affected versions

8.0.2

Storybook versions

8.4.3

@fadler82 fadler82 added the category: bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant