Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: onChange returns empty text #209

Closed
Yuripetusko opened this issue Jul 27, 2018 · 3 comments
Closed

Android: onChange returns empty text #209

Yuripetusko opened this issue Jul 27, 2018 · 3 comments

Comments

@Yuripetusko
Copy link

Yuripetusko commented Jul 27, 2018

When I type something in browser or ios and then do editorStateToJSON(this.state.editorState) I can see value i typed in text field, however on android no matter what i type it's always empty and then when i blur out of the textarea or press enter for new line, text simply dissapears

"{
  "blocks": [
    {
      "key": "1e9se",
      "text": "",
      "type": "unstyled",
      "depth": 0,
      "inlineStyleRanges": [],
      "entityRanges": [],
      "data": {}
    }
  ],
  "entityMap": {}
}"

Same issue on megadraft.io demo editor

@Yuripetusko
Copy link
Author

Looks like draft.js problem

facebookarchive/draft-js#1077

@mogavin mogavin added the bug label Dec 20, 2019
@mogavin
Copy link
Contributor

mogavin commented Dec 20, 2019

Looks like draft.js problem

facebook/draft-js#1077

Hi, @Yuripetusko ! First, sorry for the delay. This bug has apparently been resolved in this draft.js PR, incorporated in the draft.js release v0.11.0 . As soon as we update for this version of draft(#292) we communicate here.

@stale
Copy link

stale bot commented Feb 18, 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.

@stale stale bot added the wontfix label Feb 18, 2020
@stale stale bot closed this as completed Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants