-
Notifications
You must be signed in to change notification settings - Fork 93
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
Fix additionalTrapElements to accept HTMLelements as well #5120
Conversation
2996abf
to
24fe0ac
Compare
the error is gone, i can see the tool, but i cannot see the dropdown list. It is shown for a second and then goes away. But im not sure if this issue with the drop down is connected to the trap element |
@@ -162,7 +162,14 @@ export default defineComponent({ | |||
/** Additional elements to add to the focus trap */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add that we accept the same as NcModal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! But will not work. We need to pass it to NcModal
.
This was forgotten 🙈 So add additionalTrapElements
to modalProps
ah, ok, will do. test and then will merge this one |
Signed-off-by: greta <[email protected]>
24fe0ac
to
2729402
Compare
tested and works now :) |
☑️ Resolves
🖼️ Screenshots
🚧 Tasks
🏁 Checklist