show the action buttons on top of the modal always by default - #2630
Conversation
|
This is a breaking change @jancborchardt |
Because all Modals that were relying on auto-hiding the UI will now have to manually specify the timeout. |
|
@jancborchardt these navigation items of the modal: After this change they are always visible by default if the developer did not specify a timeout which will hide these items again after a specific timeout... Hope that is clear now? :) |
|
Which of our modals would still use auto-hide here then, if any? Cause as it came up in the accessibility workshop I would say we should remove the auto-hiding altogether. The close button should always be visible, and if a name is needed that one should also be shown (or not set in the first place), but not hide. This should not be configurable by individual developers. |
So then shall I remove this option? cc @skjnldsv |
|
ping @skjnldsv |
|
I'm following Jan's decision :) |
2461559 to
cda6d9e
Compare
I've already set the default to disabled but tried to remove it now in the latest commit. Please suggest what is your choice. Depending on that I'll revert the last commit again. This is now best reviewed like this: https://github.com/nextcloud/nextcloud-vue/pull/2630/files?diff=unified&w=1 |
32c623e to
e1ea93b
Compare
e1ea93b to
e3ae1dc
Compare
ChristophWurst
left a comment
There was a problem hiding this comment.
👍 🐘
please squash
Signed-off-by: szaimen <szaimen@e.mail.de>
e3ae1dc to
b59221e
Compare
done |

reason behind this: as noticed in the accessibility workshop, the action buttons of the modal should always visible. Changing the default to -1 will allow to opt-in into the hiding of the action buttons which is in my opinion the better way to do this.
Signed-off-by: szaimen szaimen@e.mail.de