Description
Just took that feature request/issue from gitter from @dxsferrer
Hi there! I've been using PL2 for quite some time and now I am starting to play around with PL 3, and testing if I a migration is feasible. Among other things I have noticed that I can no longer manually set a viewport size (in PL2 it the px/rem indicators were editable). Also, when setting a max-width for "l" breakpoint (patternlab-config.json) it becomes the new global max-width and the iframe can no longer be resized above that point, thus the "full" button becomes quite useless. Are those constraints intended? Thank you so much!
I also found a todo in the code which would be great to be resolved
// @todo: re-add keyboard shortcuts to these
I will try to supply a fix for that.
Expected Behavior
-
When I click on full size the viewport should resize to full window with independently from max size of
config.ishViewportRange.l
. -
When click into viewport size I can edit the value manually
Actual Behavior
- Even on clicking full size, the viewport gets resized to a maximum of size L.
- The value is not editable
Steps to Reproduce
Change value of config.ishViewportRange.l
to 900 and serve patternlab. Click on full size.