AztecEditor-Android
AztecEditor-Android copied to clipboard
Title is not scrolling automatically when long text is written
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
- Start a new post on the Beta editor
- Type in a few lines of text in the content area
- Keep adding lines until the content text starts scrolling
- 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
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)
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 )
- I can see the same issue as you, but when hide the keyboard and start scrolling the title input disappear as you wanted.
- 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
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?
This was also reported as a problem in the iOS app: https://github.com/wordpress-mobile/AztecEditor-iOS/issues/872.