Reset document zoom-factor when resizing only the containing HTML element with 'page-width' #1991
Labels
20
scheduled for version 20
nuisance
a bug that only shows in the logs; or: a bug with an obvious work-around every user finds quickly
Version 18
Scheduled for version 18
Is your feature request related to a problem? Please describe.
I load a document and zoom is set to 'page-width'.
When I resize the browser window, this setting is kept, the 'zoom' will be adjusted.
However, when I change through user interaction how wide the component can be, the zoom factor will be kept and thus the document is no longer displayed as 'page-width'.
Describe the solution you'd like
I would like to be able to tell the component that the behaviour on window resize and component resize should be the same.
Describe alternatives you've considered
My alternative would be to manually set up a listener (maybe ResizeObserver can help me?) and then manually reset the zoom.
Additional context
I don't know if there is something like this already and I just missed it. Or if this will end in a performance hell.
The text was updated successfully, but these errors were encountered: