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

File block: New lines between text and download button are not displayed (only Android) #31075

Open
fluiddot opened this issue Apr 22, 2021 · 2 comments
Labels
[Block] File Affects the File Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later [Type] Bug An existing feature does not function as intended

Comments

@fluiddot
Copy link
Contributor

Description

The new lines added between the text and the download button are not displayed in the editor, however, when previewing the post, they're shown. This issue only happens on Android, on iOS the new lines are displayed properly.

Step-by-step reproduction instructions

  1. Add a file block
  2. Choose any file
  3. Tap on the text above the download button
  4. Move the caret to the end of the text
  5. Add new lines by tapping the intro button
  6. Observe that the new lines are not being displayed
  7. Preview the post
  8. Observe that the new lines are being displayed

Expected behaviour

New lines should be displayed when adding them at the end of the text.

Actual behaviour

New lines are not being displayed.

Screenshots or screen recording (optional)

file-block-new-lines.mp4

WordPress information

  • WordPress version: N/A
  • Gutenberg version: N/A
  • Are all plugins except Gutenberg deactivated? N/A
  • Are you using a default theme (e.g. Twenty Twenty-One)? N/A

Device information

  • Device: Samsung Galaxy S20 FE 5G
  • Operating system: Android 10
  • WordPress app version: 17.1
@fluiddot fluiddot added [Type] Bug An existing feature does not function as intended Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Block] File Affects the File Block labels Apr 22, 2021
@mchowning mchowning added the [Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later label Apr 22, 2021
@kathrynwp
Copy link

Hi @fluiddot @davidcalhoun circling back to see if this is still an issue in the latest version of WP/Gutenberg/the app, or can this issue be closed? Thanks!

@dcalhoun
Copy link
Member

Yes, I am able to reproduce this on a Samsung Galaxy S20 (Android 12) with WP 20.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] File Affects the File Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants