Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

spacebar remove whole previous text line in multi line text #1146

Closed
GenesisSam opened this issue Apr 17, 2017 · 8 comments
Closed

spacebar remove whole previous text line in multi line text #1146

GenesisSam opened this issue Apr 17, 2017 · 8 comments

Comments

@GenesisSam
Copy link

Do you want to request a feature or report a bug?
a bug!

What is the current behavior?
when i typed multi line text -> move cursor to start of second line -> hit the spacebar -> removed whole previous text lines

it's happend on facebook.com, draftjs.org and my own project

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.

draft-spacebar-error

What is the expected behavior?
just regular space append. same like office program.

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?

i tested, and some browser, OS happens different bug.
MacBook pro(version 10.12.4)

  • chrome 57.0.2987.133 (64-bit) ==> remove previous text line
  • safari ==> 'space' is input but didn't render anything

Windows 11

  • IE11 ==> work fine
  • Chrome 56.0.2924.87 ==> 'space' is input but didn't render anything
  • FF 51.0.1 (32bit) ==> 'space' is input but didn't render anything
@MadebyAe
Copy link

MadebyAe commented Apr 18, 2017

Same here... In Safari the space doesn't render anything

@MadebyAe
Copy link

I think the v0.7.0 is working fine but >=0.9.x is failing.

@GenesisSam
Copy link
Author

@MadebyAe thx let me know fine version.
but i have done things on version "0.10.0". i couldn't downgrade :(

@MadebyAe
Copy link

MadebyAe commented Apr 19, 2017

@GenesisSam I am planning migrate to https://github.com/draft-js-plugins/draft-js-plugins this version is using v0.10.0

@flarnie
Copy link
Contributor

flarnie commented Apr 21, 2017

Fixed by #1155 - We can close this issue once the fix is in a released version of Draft. Thanks for reporting!

@MadebyAe
Copy link

@flarnie Great! Thank you!

@GenesisSam
Copy link
Author

@familom Thx!
can i ask when next version Draft.js release? approximately...

@flarnie
Copy link
Contributor

flarnie commented Jun 15, 2017

This should be fixed in Draft v0.10.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants