Ticket #2530396 (accepted defect)
ReporterSimon Gilligan |
Opened: 06/4/11 Last modified: 03/15/13 Status: accepted Type: defect |
Owner Derek Gathright |
Target Release: BACKLOG Priority: P4 (low) |
|---|---|---|---|
| Summary: | Horizontal scrollview to support vertical drag gesture | ||
| Description: | The horizontal scrollview doesn't support a vertical gesture to allow a vertical scroll of a container page. Use case (on iPad): The YUI scrollview implementation does not support this action - meaning I can't initiate a page level scroll whilst in the scroll view area. On touch devices, if the horz scroll view happens to cover |
||
| Type: | defect | Observed in Version: | 3.4.0 PR1 |
| Component: | ScrollView | Severity: | S3 (normal) |
| Assigned To: | Derek Gathright | Target Release: | BACKLOG |
| Location: | Library Code | Priority: | P4 (low) |
| Tags: | Relates To: | ||
| Browsers: | iOS 4 | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 06/13/11
|
|
Posted: 06/23/11
|
|
Posted: 06/23/11
|
|
Posted: 06/27/11
|
|
Posted: 06/27/11
Will try to get this in for PR3 but changing the priority for sprint planning purposes. |
|
Posted: 06/28/11
|
|
Posted: 07/14/11
BZ id = 4673730 |
|
Posted: 08/10/11
|
|
Posted: 08/22/11
|
|
Posted: 08/24/11
|
|
Posted: 08/24/11
Sorry, surprised this wasn't in the bug already: You can set: var sv = new Y.ScrollView(...); to work around this issue if required. Putting on the backlog for 3.4.1, although it's likely to be 3.5.0 |
|
Posted: 09/27/11
|
|
Posted: 11/7/11
|
|
Posted: 11/9/11
|
|
Posted: 11/9/11
|
|
Posted: 03/27/12
|
|
Posted: 07/21/12
Nice idea. I'm integrating a bunch of scrollview refactoring I've been working on for this upcoming release and will keep it in mind. |
|
Posted: 08/1/12
Moving 3.7.0 bugs to 3.6.x for triage. |
|
Posted: 08/7/12
|
|
Posted: 09/19/12
Moving from 3.6.x to 3.CURRENT.NEXT |
|
Posted: 09/24/12
|
|
Posted: 01/12/13
Having come back to this quite a bit later - Satyen's suggestion of using sv._prevent.move = false does work. I've since isolated my issue to allowing vertical scroll (sv._prevent.move = false) - except when dragging horizontally. When doing so, vertical scroll needs to be turned off until after the gesture is complete, otherwise the horizontal drag will also scroll the page vertically as the there will typically be some vertical movement in the flick/drag. I've used a variation of this - https://github.com/zordius/yui3-gallery/blob/master/src/gallery-zui-rascroll/js/zui-rascroll.js - to achieve this behaviour - it would be nice to have this configurable natively eg set('singleAxisSwipe',true) |
|
Posted: 03/15/13
|
A clarification: it is the single finger vertical swipe that is ignored. A double finger vertical swipe works as expected.