AztecEditor-Android icon indicating copy to clipboard operation
AztecEditor-Android copied to clipboard

Title is not scrolling automatically when long text is written

Open designsimply opened this issue 5 years ago • 4 comments
trafficstars

Moved from https://github.com/wordpress-mobile/WordPress-Android/issues/7948. /hat tip @hypest

Expected behavior

When typing in a long-ish post, editor's title line should get scrolled out of view as the text grows.

Actual behavior

While typing in long text, the content text itself gets scrolled as the text grows but title line is not scrolled out of view.

Steps to reproduce the behavior

  1. Start a new post on the Beta editor
  2. Type in a few lines of text in the content area
  3. Keep adding lines until the content text starts scrolling
  4. Notice the title input being still in view and not moving as new lines of content text gets added
Tested on [device], Android [version]

Nexus 5X, Android v7.1.2, app version v10.2

designsimply avatar Jan 22 '20 21:01 designsimply

Moved from https://github.com/wordpress-mobile/WordPress-Android/issues/7948#issuecomment-400359050. /hat tip @mzorz

I confirm this:

  • does NOT happen on a Pixel with Android 8.0
  • does NOT happen on Samsung S3 (Android 4.2.2 API 17)
  • does happen on Nexus 6 with Android 5.1
  • does happen on a Nexus 5 with Android 6.0 (API 23)

designsimply avatar Jan 22 '20 21:01 designsimply

Moved from https://github.com/wordpress-mobile/WordPress-Android/issues/7948#issuecomment-401646204. /hat tip @RubenSaucedo

I've reproduce the issue on Samsung A7 (Android )

  1. I can see the same issue as you, but when hide the keyboard and start scrolling the title input disappear as you wanted.
  2. If you keep writing and never hide the keyboard the title view still on screen

Once checked this, I guess that is more an enhancement than a bug

designsimply avatar Jan 22 '20 21:01 designsimply

I tried testing this a few times and couldn't replicate the problem. I tried with WPAndroid 14.0-rc-1 on:

  • Pixel 3 Android 10 (my device)
  • Pixel 2 Android 7 (emulator)
  • Nexus 4 Android 5.1 (emulator), 42s

@hypest @mzorz are you still able to replicate this problem in the latest version of the app?

designsimply avatar Jan 22 '20 21:01 designsimply

This was also reported as a problem in the iOS app: https://github.com/wordpress-mobile/AztecEditor-iOS/issues/872.

designsimply avatar Jan 22 '20 21:01 designsimply