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

Disabled menu bar menu can still be open using keyboard #17915

Open
Dumluregn opened this issue Feb 12, 2025 · 0 comments
Open

Disabled menu bar menu can still be open using keyboard #17915

Dumluregn opened this issue Feb 12, 2025 · 0 comments
Labels
package:ui type:bug This issue reports a buggy (incorrect) behavior.

Comments

@Dumluregn
Copy link
Contributor

📝 Provide detailed reproduction steps (if any)

  1. Open any demo with menu bar, e.g. https://ckeditor.com/docs/ckeditor5/latest/examples/builds-custom/full-featured-editor.html
  2. Disable a menu from menu bar typing editor.ui.view.menuBarView.menus[ 0 ].isEnabled = false; in the console.
  3. Focus the editor.
  4. Press Opt+F9 to focus menu bar.
  5. Press "arrow down" when the disabled menu is focused.

✔️ Expected result

Nothing happens, menu should not be open.

❌ Actual result

Menu opens normally.

Image

❓ Possible solution

If you have ideas, you can list them here. Otherwise, you can delete this section.

📃 Other details

  • Browser: …
  • OS: …
  • First affected CKEditor version: …
  • Installed CKEditor plugins: …

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@Dumluregn Dumluregn added package:ui type:bug This issue reports a buggy (incorrect) behavior. labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:ui type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

1 participant