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

fix mobile scrolling, lower sidebar sensitivity, fix #11193 #17785

Merged
merged 1 commit into from
Aug 12, 2015

Conversation

jancborchardt
Copy link
Member

Attempting to fix #11193 by applying @zerosine’s fix from #11193 (comment)

Please test @owncloud/designers @Raydiation @zerosine @FINIUS

If this works nicely, we should also backport it.

@jancborchardt
Copy link
Member Author

@tflidd @oparoz @SunboX please also test this. :)

@MorrisJobke
Copy link
Contributor

I got a bit less responsive, because the menu reveals instantly after the threshold is reached, which looks a bit clumsy. But now it's easier to scroll downwards.

@jancborchardt
Copy link
Member Author

Maybe we need to play around with some of the other values at

var settings = self.settings = {
element: null,
dragger: null,
disable: 'none',
addBodyClasses: true,
hyperextensible: true,
resistance: 0.5,
flickThreshold: 50,
transitionSpeed: 0.3,
easing: 'ease',
maxPosition: 266,
minPosition: -266,
tapToClose: true,
touchToDrag: true,
clickToDrag: true,
slideIntent: 40, // degrees
minDragDistance: 5
};

For example resistance, flickThreshold and slideIntent.

@FINIUS
Copy link

FINIUS commented Jul 22, 2015

IMHO one can say that side scrolling shouldn't appear as long as your vertical scrolling is more intense. So the side menu should only open if you scroll more horizontal than vertical.
It seems also that some kind of any low "refresh rate" makes scrolling that clumsy

@tflidd
Copy link
Contributor

tflidd commented Jul 22, 2015

The initial bug for me was this here: #14639 (menu on the right can't be opened in iOS 8/safari). But OC 7.0.7 and OC 8.1.0 have fixed this (or iOS was fixed). Regarding the menu, it still opens with the fix.

@Bullnados
Copy link

On Opera Android looks good. 👍
But perhaps we should reduce the value a little bit. After testing I reduced the value from 145 to 100. With 145 the side menu opened little hard with 100 the sensivity is imo perfect.

@jancborchardt
Copy link
Member Author

@Bullnados great, thanks a lot for testing! :) You are very welcome in our IRC channel #owncloud-design (on freenode) by the way!

@scrutinizer-notifier
Copy link

A new inspection was created.

@jancborchardt
Copy link
Member Author

Rebased and applied the change @Bullnados mentioned. Please retest @owncloud/designers @Raydiation @zerosine @FINIUS @tflidd

@ghost
Copy link

ghost commented Aug 11, 2015

🚀 Test PASSed.🚀
chuck

@jancborchardt
Copy link
Member Author

Please test again so we can merge @Bullnados @MorrisJobke @Raydiation @zerosine @FINIUS @tflidd :)

@MorrisJobke
Copy link
Contributor

Feels better now 👍

MorrisJobke added a commit that referenced this pull request Aug 12, 2015
fix mobile scrolling, lower sidebar sensitivity, fix #11193
@MorrisJobke MorrisJobke merged commit 6f909b1 into master Aug 12, 2015
@MorrisJobke MorrisJobke deleted the snapjs-sensitivity branch August 12, 2015 21:20
@MorrisJobke
Copy link
Contributor

@karlitschek Should we backport this?

@jancborchardt To which versions? I would say 8.1 only.

@jancborchardt
Copy link
Member Author

stable8.1 and stable8 I’d say.

@karlitschek
Copy link
Contributor

Let's backport. 👍

@MorrisJobke
Copy link
Contributor

stable8 #18286
stable8.1 #18284

@lock lock bot locked as resolved and limited conversation to collaborators Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mobile experience very flaky due to snap.js issues
7 participants