Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

z-ordering of hover elements in state machine editor #1872

Open
xgo-work opened this issue Dec 21, 2022 · 1 comment
Open

z-ordering of hover elements in state machine editor #1872

xgo-work opened this issue Dec 21, 2022 · 1 comment

Comments

@xgo-work
Copy link
Contributor

xgo-work commented Dec 21, 2022

hover elements showing the code of the impacts and conditions are displayed behind the other elements (state and flow lines).

z-index in css elements is not sufficient.
The issue is related to stacking contexts that are induced by the presence of transform css elements injected in the divs directly.

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context

The transform should be hoisted at top level of the state machine editor.

@xgo-work
Copy link
Contributor Author

Alternatively, a modal outside/over the structure could appear on hover after 1 second (tooltip like)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants