shexjs / shex.js

shex.js javascript package
MIT License
58 stars 17 forks source link

Shex-simple controls menu overlapping about page #318

Open Mennolt opened 5 months ago

Mennolt commented 5 months ago

What broken?

shexjs in browser

Version

No response

What happened (e.g., it crashed)?

When in the simple version (https://shex.io/webapps/shex.js/doc/shex-simple.html) of the webapp you click the controls, and then the about button, the controls remain and go over the new about window.

What should have happened instead (e.g., it shouldn't crash)?

The about window should become the top window. I suggest adding a z-value to the node that makes the about window of over 127, I think that is https://github.com/shexjs/shex.js/blob/main/packages/shex-webapp/doc/shex-simple.html line 262.

How can we reproduce this error?

To reproduce the error, open the page, open the controls, then press the about button

Mennolt commented 5 months ago

perhaps this is a seperate issue, but you also cannot open the about page twice: the second time it only open the grey background of the about window but not thw window itself, or the button to close it