storybookjs/storybook

[Bug]: Line highlighting in onboarding is slightly misaligned

Aperta

#27.164 aperta il 15 mag 2024

 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (10.058 fork)batch import
addon: onboardingbughelp wantedsev:S4ui

Metriche repository

Star
 (89.909 stelle)
Metriche merge PR
 (Merge medio 7g 22h) (184 PR mergiate in 30 g)

Descrizione

Describe the bug

This problem is best described with a video:

https://github.com/storybookjs/storybook/assets/5678122/77201dc1-bbe4-4393-b4a0-df25bfee85fa

Some important screenshots from that video:

image

image

To Reproduce

See stories at https://next--635781f3500dd2c49e189caf.chromatic.com/?path=/story/addons-onboarding-features-writestoriesmodal--default

Or try it out in a fresh React sandbox:

  1. https://stackblitz.com/~/edit/github-duyqxc?file=.storybook%2Fmain.js&initialPath=%2F%3Fonboarding%3Dtrue
  2. Change the URL of the preview to the right and add /?onboarding=true

System

Storybook 8.1

Additional context

No response

Guida contributor