When input and focus simultaneously, it will happened that the focus line will replace the others line
what ? any one here?
@kangax
When input and focus simultaneously, it will happened that the focus line will replace the others line.
Can you please have a look at it?
Hey @seekforwings, not sure why I was summoned but I'm sure someone from the core team will assist you eventually. For faster resolution, please make a minimal reproducible test case.
@seekforwings - thanks for opening this issue; as kangax mentioned, could you provide a minimal reproducible test case? it's unclear from your task description what exactly you're running into
Well, here is how I debug by adding some console.log:
at the very beginning:

this is the normal action:

this is the specific action which cause the bug, I think:

By the way, the demo on your website(http://facebook.github.io/draft-js/) also has the same problem.
Well, the picture of the specific action has to be modified:

Sorry for making some mistakes!
@kangax @davidchang could you please have a look at the issue again?
@kangax @davidchang Well, how is it now?
I can confirm the bug, here it is in action:

I'm afraid I don't have time to look at it right now though.
@seekforwings While it is helpful with bug reports (especially with the images you've provided), I don't think it's very helpful to ping people like that. I'm sure someone will have a look at this when they've got the time for it! Maybe you could help locating the problem in the mean time?
Well, I would be glad to fix it, but I am kind of busy recently. I will try if I have got enough time.
Thanks for documenting this bug @seekforwings , and thanks @tobiasandersen for confirming it.
At this time maintainers are wrapping up work on other bug fixes. We would welcome a PR to address this.
As a side note, I don't think 'kangax' is involved in this project at this time so no need to tag them.
This looks like the same bug as #989, and #424.
Most helpful comment
Well, I would be glad to fix it, but I am kind of busy recently. I will try if I have got enough time.