-
-
Notifications
You must be signed in to change notification settings - Fork 62
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 focus in filepicker #1711
fix focus in filepicker #1711
Conversation
could you elaborate on the solution? you're watching the document body and move the dialogs element into the modal, right? would it also be possible to register the dialogs element as additional focus trap elements for the modal? |
changing to WIP until nextcloud-libraries/nextcloud-vue#3947 gets merged |
bcadbd2
to
0e181cc
Compare
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.
Works, but the behavior is still weird, as you can focus items from the setting modal behind the file picker. Shouldn't the file picker still the focus? If so, shouldn't the solution be in nc/dialogs?
/rebase |
Rebasing to have green CI |
yeah nextcloud-libraries/nextcloud-dialogs#1 🥲 Right now the picker is built with jquery UI. |
0e181cc
to
6477458
Compare
/compile amend / |
6477458
to
2023073
Compare
@hamza221 can you squash your fixups ? |
2023073
to
06c76d6
Compare
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
06c76d6
to
5835fa4
Compare
squashed |
/backport to stable26 |
/backport to stable25 |
The backport to stable25 failed. Please do this backport manually. # Switch to the target branch and update it
git checkout stable25
git pull origin/stable25
# Create the new backport branch
git checkout -b fix/foo-stable25
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123
# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable25 More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport |
@artonge is it safe to backport the change to 25 considering the nc/vue bump in here? |
Should be safe for 25 yes, can you try and test? |
No luck so far #1741 (comment) |
Is this still needed after nextcloud/server#37780 ? |
It's not, I think we can revert this |
Can you handle it? |
A really hacky way to fix focus in the file picker focus
Repro:
PS: Manually focusing and changing tabindex didn't work