-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Keyboard handling for grid components in font color and list style #12202
Keyboard handling for grid components in font color and list style #12202
Conversation
…ction instead of children array
…andling-for-grid-components-discovery-solution-1
…andling-for-grid-components-discovery-solution-1
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.
The direction is right. Refactoring needed, though.
…een styles but only between other items in dropdown).
…st styles to stylesView from the ListPropertiesView.
…vigation with arrows in one place for all color grids.
…ow left/right) will be handled in addKeyboardHandlingForGrid.
Improves also selection: mouseover and keyboard navigation share the same logic now.
…andling-for-grid-components-discovery-poc
We added new arrow navigation by helper function addKeyboardHandlingForGrid so the focus cycler was not needed anymore.
…der of render() and appendGrids() in unit tests.
…view's own focusTracker.
…andling-for-grid-components-discovery-poc
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.
The direction looks good. Mostly code refactoring suggestions and some questions.
packages/ckeditor5-ui/src/bindings/addKeyboardHandlingForGrid.js
Outdated
Show resolved
Hide resolved
packages/ckeditor5-ui/src/bindings/addKeyboardHandlingForGrid.js
Outdated
Show resolved
Hide resolved
packages/ckeditor5-ui/src/bindings/addKeyboardHandlingForGrid.js
Outdated
Show resolved
Hide resolved
packages/ckeditor5-ui/src/bindings/addKeyboardHandlingForGrid.js
Outdated
Show resolved
Hide resolved
packages/ckeditor5-ui/tests/bindings/addKeyboardHandlingForGrid.js
Outdated
Show resolved
Hide resolved
packages/ckeditor5-ui/src/bindings/addKeyboardHandlingForGrid.js
Outdated
Show resolved
Hide resolved
packages/ckeditor5-list/src/listproperties/ui/listpropertiesview.js
Outdated
Show resolved
Hide resolved
packages/ckeditor5-special-characters/src/ui/charactergridview.js
Outdated
Show resolved
Hide resolved
…ents-discovery-poc
…ct form for clarity and possible extensibility.
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.
Just waiting for the CI.
Suggested merge commit message (convention)
Feature (ui): Introduced a common
addKeyboardHandlingForGrid()
helper to handle grid keyboard navigation. Closes #11851.Fix (font): Fixed focus order for color grid in font color and background dropdowns. Closes #11841.
Fix (list): Unified focus handling and keyboard navigation in list properties dropdowns. Closes #11041.
Additional information
video3242862938.mp4
video5242862938.mp4