chromaui / storybook-addon-pseudo-states

CSS pseudo-classes for Storybook
MIT License
88 stars 28 forks source link

Support keyboard nav and :focus #110

Open kharrop opened 5 months ago

kharrop commented 5 months ago

Unfortunately the :focus option doesn't work for our library because our focus states are only triggered when we have a data attribute enabled on our parent container.

I was hoping this addon would still work because we are still leveraging :focus styles but unfortunately this isn't the case. It would be great if we could pass in that condition as "true" as part of the configs for the addon.