Format dropdown does not opening, when editor is used in drawer
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.
Hello, please provide a demo where we could reproduce and debug the issue.
Hi @Dumluregn, kindly check this https://codesandbox.io/s/vigilant-ritchie-i8tm0?file=/src/App.js
Steps to reproduce,
- In the editor's top, there is one dropdown in which Normal formatting is selected.
- On clicking that dropdown options(Heading 1, Heading 2, Heading 3, Formating) will be displayed. (Works fine and as expected)
- Now click on the OPEN DRAWER button.
- In the Drawer, an editor will be displayed and repeat the same steps 1 & 2.
- Here on clicking that dropdown options will be closed as soon as you open. (Not expected behavior)
I wonder if it might be related to ckeditor/ckeditor4#4461 and ckeditor/ckeditor4#4462.
@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.
Hello @Dumluregn @BrijeshDarji1, Did you find any solution to it? I am facing the same scenario while using the editor in a drawer.
Hi, according to the newest releases - the issue might be potentially solved. Please - take a moment to verify it.