[Feature] On Focus, On Blur, enable and disable features are missing in v8
See original GitHub issueI’m submitting a
- Regression (a behavior that used to work and stopped working in a new release)
- Bug report
- Enhancement
- Feature request
- Documentation issue or request
Description
In the latest version (v8.0.0) the Editor object is not exposing the focus, blur, disable and enable methods anymore. I know this is an intended beheavor but I would like to know if it was replaced by something else or it was just deprecated. We are using the focus to show the toolbar menu and the blur to hide it. Also, the disable and the enable methods to programmatically make the editor editable for the user.
Thanks!
Version Information
ngx-editor: 8.0.0
angular: 9.1.12
Browser
- Chrome - x.x.x
- Mozilla Firefox - x.x.x
- Opera - x.x.x
- Microsoft Edge - x.x.x
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Focusing: focus/blur - The Modern JavaScript Tutorial
Losing the focus generally means: “the data has been entered”, so we can run the code to check it or even to save...
Read more >FormControl - Angular
You reset to a specific form state by passing through a standalone value or a form state object that contains both a value...
Read more >Element: blur event - Web APIs | MDN
The blur event fires when an element has lost focus. The event does not bubble, but the related focusout event that follows does...
Read more >chrome/browser/flag_descriptions.cc - chromium/src - Google Git
Note that this flag will be a no-op if enable-drdc is disabled. "; ... "Adds features to the download bubble not available on...
Read more >Change Log - /buttons - Kendo UI for Angular - Telerik
splitbutton: component steals focus after closing. buttonlist: first list item is not focused consistently on open. Features. buttongroup ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Of course I did it!
Hi @sibiraj-s ,
Thanks for the quick response. I tried the props that you mentioned and they are working. Nice!
I think It would be useful for others to just clarify in the migration guide that we can still use the focus and blur methods using props.
BTW, I really like the library. Great work! Thanks for the help!