vaadin-component-factory / svg

Java API for vcf-svg
Other
2 stars 4 forks source link

TypeError when adding SVG to Dialog #10

Closed Loahrs closed 3 years ago

Loahrs commented 3 years ago

Hello, I hope this is the right place to report an issue I encountered.

What's happening? A TypeError is thrown when trying to open a VaadinDialog that contains a Svg. The Dialog is not displayed due to this.

How to reproduce? Create a class extending Dialog and create and add a Svg Element to this. I created a minimal example from the Vaadin Gitpod Starter: https://gitpod.io#snapshot/52dc9674-0f2e-4445-85d2-89e8d4b49d7c

More Info

  get children() {
    return this.draw.children();
  }
Frettman commented 3 years ago

I'm experiencing the same thing.

jcgueriaud1 commented 3 years ago

It should be fixed in v1.1.1. Just released today