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

Enhance the driver.js Support for Elements in #top-layer #532

Open
jortega0033 opened this issue Oct 25, 2024 · 0 comments
Open

Enhance the driver.js Support for Elements in #top-layer #532

jortega0033 opened this issue Oct 25, 2024 · 0 comments

Comments

@jortega0033
Copy link

It seems that driver.js does not fully support highlighting modals and popovers rendered within the #top-layer. Although the elements are recognized, they fail to receive the expected highlighting.

Context:
The #top-layer creates a new stacking context, which affects how this library displays guidance for these elements. This isn't a bug; rather, it's a matter of adapting to the new feature introduced by the #top-layer.

Use Case:
When using driver.js to guide users through interactions in modals and popovers within #top-layer, the lack of highlighting diminishes its effectiveness.

Proposed Enhancement:
Update driver.js to ensure that the elements it highlights are properly rendered within the #top-layer. This change will make them visible and correctly highlighted.

Additional Notes:
I wanted to try moving the elements inside a element to see if it would be rendered in the #top-layer, but unfortunately, I don't have enough time to do so.

For further reference, you can check this link: MDN Web Docs - Top Layer.

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

No branches or pull requests

1 participant