siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
197 stars 65 forks source link

Modal example does not work properly #326

Closed kimokono91 closed 1 year ago

kimokono91 commented 1 year ago

What happened?

What happened?

When I click on the "Show Modal" button for the first time, everything works fine. The dialog box opens and can be closed by clicking on one of the two buttons. When I try to open it again, the modal comes up without any content. The text and buttons that should be inside the modal appear in the background and the modal is empty.

ModalBug

Bug experienced with Chrome, Chromium, Firefox and Edge.

What type of frontend frameware are you seeing the problem on?

Vanilla JS

Which version of iX do you use?

v1.2.1

Code to produce this issue.

Example code on ix.siemens.io

nuke-ellington commented 1 year ago

Should have been fixed by #207. We'll have to check again.

kimokono91 commented 1 year ago

The snippet in V1.3.0 works like a well-oiled machine. Thanks for that!

Maybe you could update ix.siemens.io :)

nuke-ellington commented 1 year ago

Updated example is live on ix.siemens.io.