Last modified: 2014-02-12 23:55:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55053, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53053 - Article scrolled to top when starting to edit
Article scrolled to top when starting to edit
Status: RESOLVED WONTFIX
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-19 16:49 UTC by Axel Boldt
Modified: 2014-02-12 23:55 UTC (History)
9 users (show)

See Also:
Web browser: Apple Safari
Mobile Platform: iOS 4.x
Assignee Huggle Beta Tester: ---


Attachments

Description Axel Boldt 2013-08-19 16:49:02 UTC
With an iPod Touch 2nd gen, iOS 4.2.1, Safari browser, I start to edit an article on the mobile Wikipedia site. I click on the pencil icon, the wiki source textarea appears, I scroll down to the location I want to edit, and tap on it. At that point the virtual keyboard appears, and the wiki source in the textarea is inappropriately scrolled up to the very beginning of the article so that I lose sight of the cursor. This happens both in portrait and in landscape mode.
Comment 1 Jon 2013-09-09 17:52:59 UTC
We are having problems tracking down a iOS 4.2.1 to fix this. Does anyone have one and willing to submit a patch?
Comment 2 Axel Boldt 2013-09-09 18:46:40 UTC
It appears that Xcode can simulate iOS 4.2.1 with a bit of prodding: 

http://stackoverflow.com/questions/9675385/easiest-way-to-test-ios-4-2-1-with-xcode-4-3

I understand you can then run Safari from within the Xcode simulator.
Comment 3 Axel Boldt 2013-09-09 19:17:14 UTC
I have made a little video of the effect:
https://www.youtube.com/watch?v=2S9qMt8pByQ
Comment 4 Jon 2013-10-01 16:00:26 UTC
I can replicate this on iOS simulator 4.2
Comment 5 Jon 2013-10-01 16:38:37 UTC
*** Bug 53048 has been marked as a duplicate of this bug. ***
Comment 6 Jon 2013-10-01 16:39:02 UTC
It seems to be the default behaviour of the older iOS's to scroll to the top of any input that is focused so that the top of the textarea is in view.

If you start typing after focusing it will return to where you clicked.

Must be a workaround for this issue.
Comment 7 Jon 2013-10-01 17:21:22 UTC
Unfortunately this seems to be a quirk of iOS. It seems if you click a key on the keyboard it will scroll to the appropriate position.

This one may not be possible to fix. I'll prod a bit more but we may have to live with this, or alternatively fix the size of the textarea and make it scrollable.

Seems to also effect iOS 4.1.
Comment 8 Jon 2013-10-08 23:39:42 UTC
Doesn't look like there is anything we can do here.
WONTFIX as I can't fix it..

If anyone finds a way to get round this limitation of iOS please update the bug report with details.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links