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

Characters are misplaced when pressing enter within Pullquote or Quote block text #3105

Closed
guarani opened this issue Feb 4, 2021 · 4 comments
Labels
[OS] Android [Type] Bug Something isn't working

Comments

@guarani
Copy link
Contributor

guarani commented Feb 4, 2021

Describe the bug

When you create a Pullquote or Quote and you press enter multiple times in the middle of the block's content it starts moving the cursor a character forward and then it puts that character on a new line.

First reported by @jd-alexander here.

To Reproduce

  1. Add a Quote block to the editor
  2. Add a couple of lines of text
  3. Place the cursor somewhere in the middle of that text
  4. Press enter repeatedly and notice that as new lines are created, characters are unexpectedly shifted down on to these new lines

Expected behavior
Pressing enter should create blank new lines

Screenshots

Pullquote block Quote block

Smartphone (please complete the following information):

  • Device: Samsung S10
  • OS: Android 10
  • Version: WordPress for Android 16.6-rc-2
@guarani guarani added [Type] Bug Something isn't working [OS] Android labels Feb 4, 2021
@fluiddot
Copy link
Contributor

fluiddot commented Feb 4, 2021

👋 I think this issue might be duplicated because I was checking the Multiline components - Test Cases and I spotted that @jd-alexander already created an issue for this.

@fluiddot
Copy link
Contributor

fluiddot commented Feb 4, 2021

I'm not sure if it's related to the device but I can't manage to reproduce it on my device, here is a video capture:

quote-block-multiline.mp4

Smartphone (please complete the following information):

  • Device: Samsung Galaxy S20 FE 5G
  • OS: Android 10
  • Version: WordPress for Android - Pre alpha - Build 94309

@guarani
Copy link
Contributor Author

guarani commented Feb 4, 2021

👋 I think this issue might be duplicated because I was checking the Multiline components - Test Cases and I spotted that @jd-alexander already created an issue for this.

Silly me, I'd only checked the Gutenberg Mobile repo and not the Gutenberg repo. Thanks for flagging this as a dupe, closing.

@guarani guarani closed this as completed Feb 4, 2021
@guarani
Copy link
Contributor Author

guarani commented Feb 4, 2021

I'm not sure if it's related to the device but I can't manage to reproduce it on my device, here is a video capture:
quote-block-multiline.mp4

Smartphone (please complete the following information):

* Device: Samsung Galaxy S20 FE 5G

* OS: Android 10

* Version: WordPress for Android - Pre alpha - Build 94309

I could reproduce this today on 16.6-rc-2, but maybe you could add that comment to the other issue for better visibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[OS] Android [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants