Skip to content

Exported image does not match the display orgchart #17

@techteam-bln

Description

@techteam-bln

I want to use the export button for my generated orgcharts but this works not like expected at the moment.
I test it with Vaadin 14.0.15 and 14.1.16 and OrgChartAddon 4.0.2

Inside the build part: update-frontend I've got following warnings:
`WARNING in ../node_modules/@vaadin/flow-frontend/fc-orgchart.js?babel-target=es5 121:27-38
"export 'default' (imported as 'html2canvas') was not found in 'html2canvas'
@ ../target/frontend/generated-flow-imports.js?babel-target=es5

WARNING in ../node_modules/@vaadin/flow-frontend/fc-orgchart.js?babel-target=es5 63:31-37
"export 'default' (imported as 'jQuery') was not found in 'jquery'
@ ../target/frontend/generated-flow-imports.js?babel-target=es5
[INFO] update-frontend took 13740ms.`

I add an image with
row 1: export results
row 2: screenshot from the browser

col left: normal usage of title and name
col right: using an template so show an image as content
Orgchart_images

In addition to this problem, I also doesn't see the arrows to collapse or expand the nodes.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions