-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Viewport resizing #1145
Comments
@perriard was struggeling about the exact same behaviour as well and asked about the reasons why in gitter, as well as I do. There seem to be some aspects on this one:
@JosefBredereck, what do you think? Or am I missing some implementation for this ticket e.g. out of the linked pull requests? |
The logic happens in the utils/viewport-sizes, and as far as I can tell, the docs are not correct anymore The default value is also 2600 if nothing is set. I think this is a value resulting from the lack of 4k monitors when we put it. Nevertheless, I think the config with our ranges is correct and If you want to have it always on |
Thanks, @JosefBredereck. I can take care regarding the docs. |
Just took that feature request/issue from gitter from @dxsferrer
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
Steps to Reproduce
Change value of
config.ishViewportRange.l
to 900 and serve patternlab. Click on full size.The text was updated successfully, but these errors were encountered: