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

Unable to open combo box after reinitializing the editor #5369

Open
KarolDawidziuk opened this issue Nov 22, 2022 · 0 comments
Open

Unable to open combo box after reinitializing the editor #5369

KarolDawidziuk opened this issue Nov 22, 2022 · 0 comments
Labels
status:confirmed An issue confirmed by the development team. support:2 An issue reported by a commercially licensed client. type:bug A bug.

Comments

@KarolDawidziuk
Copy link
Contributor

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Go to https://codepen.io/slewthsloth/pen/oNyoEya?editors=1010
  2. Click on the editable (triggers focus, which enables toolbar commands).
  3. Open the font toolbar dropdown.
  4. Click outside the editor to invoke the blur event and disable the toolbar commands.
  5. Click the "Destroy 1st instance" button.
  6. Click "Create 1st instance" again.
  7. Try to open the same dropdown in the toolbar.

Expected result

The combo box opens correctly.

Actual result

The combo box is not opened. There is an error in the console.

Uncaught TypeError: Cannot read properties of null (reading 'getElementsByTag')

Other details

This can be related to blur event but there is more investigation needed to confirm the cause of this issue.

@KarolDawidziuk KarolDawidziuk added type:bug A bug. status:confirmed An issue confirmed by the development team. labels Nov 22, 2022
@martynawierzbicka martynawierzbicka added the support:2 An issue reported by a commercially licensed client. label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:confirmed An issue confirmed by the development team. support:2 An issue reported by a commercially licensed client. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

2 participants