vaadin-component-factory / vcf-pdf-viewer-flow

Vaadin Addon for providing pdf viewing functionality
Apache License 2.0
9 stars 6 forks source link

fix: Change download and print button to be added only on first attach #46

Closed TatuLund closed 9 months ago

TatuLund commented 9 months ago

Fixes #45

paodb commented 9 months ago

Fix is not working okay as download button is being shown twice. It happens because of change added in constructor. Removing that makes download button not to show correctly in simpler examples not using dialog. That's why I'm closing this in favor of https://github.com/vaadin-component-factory/vcf-pdf-viewer-flow/pull/47