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

browser: accessibility: fix min-content, max-content grid #9944

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hcvcastro
Copy link
Member

Change-Id: I8a4615ef0c2abdd21d57737708d64a4c79cc134f
Signed-off-by: Henry Castro [email protected]

@hcvcastro hcvcastro force-pushed the pr/master/7B branch 2 times, most recently from 4005616 to 3c65582 Compare September 3, 2024 10:53
Change-Id: I8a4615ef0c2abdd21d57737708d64a4c79cc134f
Signed-off-by: Henry Castro <[email protected]>
@eszkadev
Copy link
Contributor

Hi @hcvcastro , can we have description in the commit message what does that fix?
One example, which dialog to open to test the change.

@@ -308,7 +308,7 @@ td.jsdialog > [id^='table-box']:not(.sidebar) {
}

.ui-tabs-content.jsdialog > .ui-content.hidden {
display: inherit !important;
display: none !important;
Copy link
Contributor

Choose a reason for hiding this comment

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

visibility: hidden causes element to be hidden but still occupying the space
display: none removes the element completely
This is important inside grids where we have specific order of columns and rows

Copy link
Contributor

Choose a reason for hiding this comment

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

we did that to keep the same size of every tab in the dialog so "Next" button in the wizard will be at the same place, so user can just click multiple times in the same place

@eszkadev
Copy link
Contributor

eszkadev commented Sep 23, 2024

We decided in the past that dialog should keep the same size when switching tabs if possible. It is important to keep "ok", "cancel" button at the same position on the screen.
Please see that this change causes a problem here (in Wirter's Character dialog, but in Chart Wizard it was not perfect even before):

dynamicsize-2024-09-23_08.22.18.webm

@eszkadev
Copy link
Contributor

eszkadev commented Sep 23, 2024

Before it was like this:

dynamicsize-2024-09-23_08.27.20.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Review
Development

Successfully merging this pull request may close these issues.

2 participants