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

Fix additionalTrapElements to accept HTMLelements as well #5120

Merged
merged 1 commit into from Jan 23, 2024

Conversation

GretaD
Copy link
Contributor

@GretaD GretaD commented Jan 23, 2024

☑️ Resolves

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 Tasks

  • Test if it works on mail, it works.

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

@GretaD GretaD added bug Something isn't working 3. to review Waiting for reviews labels Jan 23, 2024
@GretaD GretaD requested a review from susnux January 23, 2024 15:08
@GretaD GretaD self-assigned this Jan 23, 2024
@GretaD
Copy link
Contributor Author

GretaD commented Jan 23, 2024

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 */
Copy link
Contributor

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

Copy link
Contributor

@susnux susnux left a 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

@GretaD
Copy link
Contributor Author

GretaD commented Jan 23, 2024

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 <gretadoci@gmail.com>
@GretaD
Copy link
Contributor Author

GretaD commented Jan 23, 2024

tested and works now :)

@GretaD GretaD merged commit 72f56e0 into master Jan 23, 2024
15 checks passed
@GretaD GretaD deleted the fix/trap-elements-ncdialog branch January 23, 2024 17:40
@Pytal Pytal mentioned this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants