Release v1.0.31
Overview
A small release that improves PDF rendering on narrow and mobile viewports by measuring the viewer container and using that measurement when laying out pages.
🐛 Fixes
- Measure and store the PDF viewer container width so pages scale correctly on narrow/mobile viewports.
- Add resize observation and debounce logic to stabilize page layout when the container size changes.
✨ Features
- Exposed container-width state/action so the renderer can react to viewport changes.
⚡ Performance
- Reduced layout thrash by debouncing container-size updates, improving render stability on mobile.
(No breaking changes.)
What's Changed
- fix(ASMA-7025): Improve PDF rendering for mobile viewports by measuri… by @VasiliiPeicov in #2
New Contributors
- @VasiliiPeicov made their first contribution in #2
Full Changelog: v1.0.30...v1.0.31