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

Page is not returning to the "top" state after "long" panel is closed in android 2.3.3 browser #6767

Closed
polarfish opened this Issue Nov 27, 2013 · 5 comments

Comments

Projects
None yet
5 participants
@polarfish

Issue description

Closing "long" panel returns the page to the "top" state on desktop browser and modern android versions. As for android 2.3.3 browser - after panel is closed user continue seeing empty space (because page was scrolled with panel) until he taps the screen.

Test page

http://jsbin.com/IyeKuFuv/7/

Steps to reproduce

Create page with a few elements and panel with a lot of elements. Open panel, scroll down to the bottom and close the panel.

Expected outcome

After panel is closed, page "jumped up" to the top so user sees it's elements

2013-11-27 15 12 33

Actual outcome

After panel is closed, nothing happens. But if user taps the screen - page jumps up and looks like in Expected Outcome case.
2013-11-27 15 12 24

Platforms/browsers (including version) and devices tested

Chrome 31, Fedora 19
Chrome 31, Android 4.2.2, Samsung Galaxy Ace 3
Default browser, Android 2.3.3 emulator

jQuery Mobile and jQuery core versions used

JQM - latest
JQ - 1.10.1

@jamesjnadeau

This comment has been minimized.

Show comment
Hide comment
@jamesjnadeau

jamesjnadeau Nov 27, 2013

I can reproduce this problem on android 2.3 in the emulator, Don't have a 2.3 device on me at the moment, will test it later when I'm around one.

Works as expected everywhere else I tested.
Platforms tested with:
Chrome 31, Fedora 19
Chrome, Android 4.2.2(Moto X)

I can reproduce this problem on android 2.3 in the emulator, Don't have a 2.3 device on me at the moment, will test it later when I'm around one.

Works as expected everywhere else I tested.
Platforms tested with:
Chrome 31, Fedora 19
Chrome, Android 4.2.2(Moto X)

@ldeluca

This comment has been minimized.

Show comment
Hide comment
@ldeluca

ldeluca Nov 3, 2014

Contributor

I was able to reproduce this today as well with a 2.3.7 emulator using the latest jQM.

Contributor

ldeluca commented Nov 3, 2014

I was able to reproduce this today as well with a 2.3.7 emulator using the latest jQM.

@jamesjnadeau

This comment has been minimized.

Show comment
Hide comment
@jamesjnadeau

jamesjnadeau Nov 3, 2014

I'm quite sure that this is a bug with the webkit implementation in 2.3, and probably can't (and won't be fixed). Plus, at this rate, there won't be any android 2.3 devices in the wild before someone fixes this :)

As of writing this, android 2.3 is at less than 10% of the platforms market share:
https://developer.android.com/about/dashboards/index.html

I'm quite sure that this is a bug with the webkit implementation in 2.3, and probably can't (and won't be fixed). Plus, at this rate, there won't be any android 2.3 devices in the wild before someone fixes this :)

As of writing this, android 2.3 is at less than 10% of the platforms market share:
https://developer.android.com/about/dashboards/index.html

@jaspermdegroot

This comment has been minimized.

Show comment
Hide comment
@jaspermdegroot

jaspermdegroot Nov 5, 2015

Member

I am going to reopen this ticket because I think we should discuss the desired behaviour first. Maybe there has been a discussion before and I missed it, in that case ... sorry.

I think we should only scroll to top after closing a panel if ui-content is out of view.

Member

jaspermdegroot commented Nov 5, 2015

I am going to reopen this ticket because I think we should discuss the desired behaviour first. Maybe there has been a discussion before and I missed it, in that case ... sorry.

I think we should only scroll to top after closing a panel if ui-content is out of view.

@jaspermdegroot

This comment has been minimized.

Show comment
Hide comment
@jaspermdegroot

jaspermdegroot Dec 17, 2015

Member

As discussed during today's meeting we are going to change this so we only scroll to top after closing a panel if ui-content is out of view.

Member

jaspermdegroot commented Dec 17, 2015

As discussed during today's meeting we are going to change this so we only scroll to top after closing a panel if ui-content is out of view.

@apsdehal apsdehal self-assigned this Feb 11, 2016

apsdehal added a commit to apsdehal/jquery-mobile that referenced this issue Jul 10, 2016

apsdehal added a commit to apsdehal/jquery-mobile that referenced this issue Jul 10, 2016

apsdehal added a commit to apsdehal/jquery-mobile that referenced this issue Jul 10, 2016

@apsdehal apsdehal closed this in a9196f3 Sep 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment