You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I work with a system where mobile/desktop views relate to a window config. I'm using your viewport addon and it works perfectly. The issue here is I can't get the value of the currently selected viewport and change config inside the decorators like it can be done with other globals and respectively can't change window config and rerender story.
Describe the solution you'd like
It would be great if the currently selected viewport value could be reached with the decorators in globals object (for instance backgrounds selection).
Describe alternatives you've considered
I have tried to implement my own viewport selection but it is not as convenient and takes a lot of effort to make it work.
Are you able to assist to bring the feature to reality?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I work with a system where mobile/desktop views relate to a window config. I'm using your viewport addon and it works perfectly. The issue here is I can't get the value of the currently selected viewport and change config inside the decorators like it can be done with other globals and respectively can't change window config and rerender story.
Describe the solution you'd like
It would be great if the currently selected viewport value could be reached with the decorators in globals object (for instance
backgroundsselection).Describe alternatives you've considered
I have tried to implement my own viewport selection but it is not as convenient and takes a lot of effort to make it work.
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions