- Notifications
You must be signed in to change notification settings - Fork0
Open
Description
I have my pdf viewer inside a PrimeVue 4 Dialog.
When I open the dialog at first my pdf does not scale correct.
After I resize the browser (Or mazimize my dialog), then it shows correct. I think you guys are using a ResizeObserver.
I can also say, I did got it to work by having a v-if with a delay in my dialog (To give the dialog some time to render before showing the pdf component). This will make sure when your ResizeObserver fires, the dialog is already rendered to size and not animating.
Can also say, this used to work without my hack before (Must have come in with your last couple of updates).
See 2 Images of the current problem
Wrong

Correct

Metadata
Metadata
Assignees
Labels
No labels