Skip to content

No possibility to deactivate the viewport opening at the persisted size #1385

Closed
@mfranzke

Description

@mfranzke

I am using Pattern Lab Node v5.15.3 on Mac, with Node v12.13.1, using a handlebars Edition with the demo patterns installed.

Expected Behavior

Especially when using configuration options like defaultPattern where someone might define a general markdown page – which is even also part of the backlog, to further further support the convenience of markdown (only) documentation pages – it would be beneficial to always have this one open at 100% viewport size, even if only implemented globally in the first place.

Actual Behavior

Currently there's no configuration / possibility to set an initial viewport size programmatically, but it's mainly the persisted viewport size that the users have chosen previously; which is fine in general, but in other words, this functionality isn't possible to deactivate, neither globally nor on a specific pattern, which might be a good enhancement for the future.

Steps to Reproduce

Interact with the viewport resize tools and reload the page – the viewport chosen got persisted and the pattern opens at that viewport size.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions