question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] On Focus, On Blur, enable and disable features are missing in v8

See original GitHub issue

I’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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lyamonecommented, Feb 19, 2021

Of course I did it!

1reaction
lyamonecommented, Feb 19, 2021

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found