Skip to content

Conversation

@juliusknorr
Copy link
Contributor

@juliusknorr juliusknorr commented Aug 12, 2022

This PR addresses two issues that are not directly visible in the components but with the way how our apps use them.

  • Allow click outside even if the focus trap is set
  • Allow apps (like viewer) to pass additional focus trap elements (like the sidebar) which will then be added to the trap so it can be accessed

Corresponding viewer commit: nextcloud/viewer@a2fb110

@juliusknorr juliusknorr added bug Something isn't working 3. to review Waiting for reviews labels Aug 12, 2022
@juliusknorr juliusknorr added this to the 6.0.0 milestone Aug 12, 2022
Copy link
Contributor

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice catch

@PVince81 PVince81 added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 12, 2022
@PVince81 PVince81 merged commit 44e5260 into master Aug 12, 2022
@PVince81 PVince81 deleted the bugfix/noid/focus-trap-modal-sidebar branch August 12, 2022 11:27
@skjnldsv skjnldsv mentioned this pull request Aug 18, 2022
@PVince81
Copy link
Contributor

/backport to stable5

@backportbot-nextcloud
Copy link

The backport to stable5 failed. Please do this backport manually.

@PVince81
Copy link
Contributor

/backport to stable5

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

Labels

4. to release Ready to be released and/or waiting for tests to finish bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants