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

CKBox command should (allow to) set focus in the opened dialog #14718

Merged

Conversation

illia-stv
Copy link
Contributor

Suggested merge commit message (convention)

Fix (ckbox): CKBox dialog is focused after initialization. Closes #14312.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

@illia-stv illia-stv self-assigned this Aug 2, 2023
@Dumluregn Dumluregn self-requested a review August 3, 2023 08:06
Copy link
Contributor

@Dumluregn Dumluregn left a comment

Choose a reason for hiding this comment

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

It doesn't work for me - the focused element becomes

<div class="ckbox ckbox-theme-default ckbox--dialog ckbox-theme-default" tabindex="-1">

and I still can't control the CKBox dialog. Tested with both toolbar button in http://localhost:8125/ckeditor5-ckbox/tests/manual/ckbox.html and slash command in http://192.168.100.6:8080/ckeditor5/38.1.1/examples/builds-custom/full-featured-editor.html.

packages/ckeditor5-ckbox/src/ckboxcommand.ts Outdated Show resolved Hide resolved
packages/ckeditor5-ckbox/tests/ckboxcommand.js Outdated Show resolved Hide resolved
@illia-stv illia-stv requested a review from Dumluregn August 9, 2023 12:59
@arkflpc arkflpc merged commit f8552d5 into master Aug 29, 2023
@arkflpc arkflpc deleted the ck/14312-ckbox-command-should-set-focus-in-the-opened-dialog branch August 29, 2023 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CKBox command should (allow to) set focus in the opened dialog
3 participants