storybook-mobile icon indicating copy to clipboard operation
storybook-mobile copied to clipboard

Check only the canvas elements?

Open Hideman85 opened this issue 2 years ago • 1 comments

Hi, first of all this is a very nice addon to add to storybook :slightly_smiling_face:

I have made a first tes and and I getting the scan of all the elements on the page (including controls "Set string" & markdown pages) I'm wondering is there a way it runs only inside the canvas?

Note: I'm using v1.0.0

image

Hideman85 avatar May 23 '22 11:05 Hideman85

It seems to be emitting about hidden elements in the canvas that Storybook automatically adds. I think it can be solved by ignoring the .sb-wrapper or ignoring the hidden elements. (it must change the library code)

Narazaka avatar May 27 '22 09:05 Narazaka