Draft-js: bug(input and click) to fix

Created on 3 Jan 2017  路  12Comments  路  Source: facebook/draft-js

When input and focus simultaneously, it will happened that the focus line will replace the others line

bug

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.

All 12 comments

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:
_f yh9_3n31 gd pm a1cs
this is the normal action:
y8md50sq ecs agq 9ksj8
this is the specific action which cause the bug, I think:
3 szgzs17 _2uu pi 0f a

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:
image

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:

fx0ygdjgtt

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.

Was this page helpful?
0 / 5 - 0 ratings