Open zstoyanova9 opened 1 month ago
Describe the bug When using the focus() method to programmatically focus the Editor, the component does not get scrolled into view in cases when it is out of the viewport.
To Reproduce
Expected behavior The Editor should not only be focused, but also scrolled into the view.
Workaround Use editor.view.dom.focus(); to focus the Editor component instead. Example with workaround - https://stackblitz.com/edit/angular-k3rrm8-m6may1
editor.view.dom.focus();
Describe the bug When using the focus() method to programmatically focus the Editor, the component does not get scrolled into view in cases when it is out of the viewport.
To Reproduce
Expected behavior The Editor should not only be focused, but also scrolled into the view.
Workaround Use
editor.view.dom.focus();
to focus the Editor component instead. Example with workaround - https://stackblitz.com/edit/angular-k3rrm8-m6may1