-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
As you can see on the left side of the screenshot, resizing the width of the viewport is not properly accounted for.
As you can see on the right side of the screenshot, the element for the resize sensor has two attributes that weren't picked up as props by the vue3-resize-sensor component, and instead became fallthrough attributes, coerced into strings and applied to the component's root html element.
Problem is here:
vue3pdf/src/componentFactory.js
Lines 25 to 30 in 1242adf
| props: { | |
| initial: true, | |
| }, | |
| on: { | |
| resize: this.resize, | |
| }, |
Not entirely sure but I think it's supposed to be something like this:
initial: true,
onResize: this.resize,
Versions
- @jbtje/vue3pdf - 2.0.0
- vue - 3.2.36
- webpack - 5.72.1
JBtje
Metadata
Metadata
Assignees
Labels
No labels
