- Notifications
You must be signed in to change notification settings - Fork0
Description
After upgrading to v3.4.0, auto-scaling behavior works correctly when the parent container grows in width, but it fails to shrink when the container is resized smaller. It seems to retain the initial width and only scales up, not down.
Steps to reproduce:
- Embed inside a responsive container.
- Load a PDF.
- Manually resize the container:
- Expanding the container increases the viewer width correctly.
- Reducing the container width does not cause the viewer to shrink.
Reported
Thank you for your reply. After upgrading to v3.4.0, the spacing for paragraph text highlighting is now normal.
However, another issue has arisen: the PDF viewer's automatic scaling relative to its parent container, as shown below:
Dragging to increase the width works fine, but reducing it causes problems. It seems to only remember the initial width and can only increase, not decrease.
Here's my website where you can see this issue:https://ch2report.com/
Custom.recording.2025-11-21.12-03-26.mp4
Originally posted by@tahitimoon in#49