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

overflow-y scrolling of language list doesn't work on mobile (workarounds) #35

Open
bvibber opened this issue Nov 10, 2012 · 2 comments
Assignees
Labels

Comments

@bvibber
Copy link
Contributor

bvibber commented Nov 10, 2012

On Android 4.x and iOS 5/6, we can add this CSS rule to make scrolling within the language list work as expected:

.uls-language-list {
-webkit-overflow-scrolling: touch;
}

however this doesn't work on Android 2.x, which doesn't support overflow scrolling cleanly.

I'm working around this by stretching the UI out and letting the entire thing scroll; this means the map and search scroll off the edge:

.android-2 .uls-menu {
height: auto;
}
.android-2 .uls-language-list {
height: auto;
overflow-y: none;
}

(.android-2 class is added by our code in the app, would need to do a User-Agent check if adding this to the core distribution)

@ghost ghost assigned pauginer Nov 10, 2012
@pauginer
Copy link
Contributor

I sent a pull request with an example of mobile adaptation: #52
It includes a mobile.css that only affects the selector when uls-mobile class is used. Any specific classes you need to add, can be added there.

@amire80
Copy link
Contributor

amire80 commented May 7, 2013

@pauginer @Brion can this be closed? Pau's patch was merged.

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

No branches or pull requests

3 participants