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

Format dropdown does not opening, when editor is used in drawer #169

Open
BrijeshDarji opened this issue Feb 3, 2021 · 6 comments
Open
Labels
status:confirmed An issue confirmed by the development team. type:bug A bug.

Comments

@BrijeshDarji
Copy link

BrijeshDarji commented Feb 3, 2021

Are you reporting a feature request or a bug?

Bug

Expected result

It should open without any issue

Actual result

It opens and closes automatically within no time. So unable to use the options provided in the Format dropdown.

@BrijeshDarji BrijeshDarji changed the title Format dropdown does not opening, when edior is used in drawer Format dropdown does not opening, when editor is used in drawer Feb 3, 2021
@Dumluregn
Copy link
Contributor

Hello, please provide a demo where we could reproduce and debug the issue.

@BrijeshDarji
Copy link
Author

BrijeshDarji commented Feb 3, 2021

Hi @Dumluregn, kindly check this https://codesandbox.io/s/vigilant-ritchie-i8tm0?file=/src/App.js

Steps to reproduce,

  1. In the editor's top, there is one dropdown in which Normal formatting is selected.
  2. On clicking that dropdown options(Heading 1, Heading 2, Heading 3, Formating) will be displayed. (Works fine and as expected)
  3. Now click on the OPEN DRAWER button.
  4. In the Drawer, an editor will be displayed and repeat the same steps 1 & 2.
  5. Here on clicking that dropdown options will be closed as soon as you open. (Not expected behavior)

@f1ames
Copy link
Contributor

f1ames commented Feb 4, 2021

I wonder if it might be related to ckeditor/ckeditor4#4461 and ckeditor/ckeditor4#4462.

@Dumluregn
Copy link
Contributor

Dumluregn commented Feb 4, 2021

@BrijeshDarji1 thank you for the sample, unfortunately I can reproduce this issue.

@f1ames this is a little different since no error is thrown here - dropdown just closes as soon as it is opened, so it looks like a problem with focus being instantly moved elsewhere. So I'm not sure but those problems don't seem to be tied.

@Dumluregn Dumluregn added status:confirmed An issue confirmed by the development team. type:bug A bug. labels Feb 4, 2021
@hhgandhi
Copy link

hhgandhi commented Sep 2, 2021

Hello @Dumluregn @BrijeshDarji1, Did you find any solution to it? I am facing the same scenario while using the editor in a drawer.

@sculpt0r
Copy link
Contributor

Hi, according to the newest releases - the issue might be potentially solved. Please - take a moment to verify it.

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. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

5 participants