@karthi13krishna/pdfme-ui
v1.0.3
Published
TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!
Maintainers
Readme
@karthi13krishna/pdfme-ui
A patched version of @pdfme/ui with the following fix:
What's different
Fix: Designer no longer resets to page 1 on every template update
When working on multi-page templates, the original @pdfme/ui resets
the page cursor to 0 and scrolls to top on every external updateTemplate()
call. This makes editing elements on page 2+ very frustrating.
This patch preserves the current page cursor across template updates, with bounds clamping to prevent crashes when a shorter template is loaded.
Install
npm install @karthi13krishna/pdfme-uiUsage
Drop-in replacement for @pdfme/ui:
// replace this
import { Designer } from '@pdfme/ui';
// with this
import { Designer } from '@karthi13krishna/pdfme-ui';Everything else stays the same.
Credits
Built on top of pdfme by the pdfme team.
Fix contributed via upstream PR.
License
MIT — same as the original pdfme package.
