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.

Issues with unwanted forced selection

See original GitHub issue

This has been described in detail in https://github.com/mjrussell/draft-js-autocomplete-plugin-creator/issues/9 including animated gifs and a demo branch – https://github.com/mjrussell/draft-js-autocomplete-plugin-creator/issues/9#issuecomment-271561909

As explained in https://github.com/mjrussell/draft-js-autocomplete-plugin-creator/issues/9#issuecomment-271861506, I stopped using draft-js-plugins-editor and updated my own Editor wrapper component with parts of PluginEditor to make the plugin work, and things work fine.

If I manage to narrow down the cause of the issues, I’ll report back here.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
paulyoungcommented, Jan 11, 2017

As explained in https://github.com/draft-js-plugins/draft-js-plugins/issues/628#issuecomment-271920682, I’m doing this in my component and everything now works as expected:

componentDidMount() {
  window.requestAnimationFrame(() => {
    this.refs.editor.focus();
  });
}
0reactions
stale[bot]commented, Sep 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unwanted Sterilization and Eugenics Programs in the United ...
This NBC news article discusses North Carolina's eugenics program, including stories from victims of forced sterilization like Elaine Riddick. ...
Read more >
Consequences of Unintended Pregnancy - The Best Intentions
A number of investigators have studied whether children born as a result of unintended pregnancies (both mistimed and unwanted) are at greater risk...
Read more >
Abortion as an Instrument of Eugenics - Harvard Law Review
Trait-selection abortion bans force fair-minded people (including judges) to confront and wrestle with the assumed “it”-ness of the human ...
Read more >
High rates of unintended pregnancies linked to gaps in family ...
Unintended pregnancies remain an important public health issue. Globally, 74 million women living in low and middle-income countries have  ...
Read more >
Eugenics is trending. That's a problem. - The Washington Post
When reformers have encouraged — or forced — women to have fewer children ... pronatalism,” citing the problem of accidental teen pregnancy, ...
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