Ticket #2532308 (closed defect)
ReporterJohn Mizliso |
Opened: 05/14/12 Last modified: 05/15/12 Status: closed Type: defect Resolution: invalid |
Owner Dav Glass |
Target Release: 3.6.0 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Drag and Drop Window scrolling not working when dragged vertically | ||
| Description: | I am testing using this example here: http://yuilibrary.com/yui/docs/dd/winscroll.html When dragging the div horizontally, the window scrolls as expected. When dragging the div vertically, the window never scrolls. This is regardless of whether the browser is maximized or whether it has been resized to take up part of the screen. This is happening in all browsers. |
||
| Type: | defect | Observed in Version: | 3.5.1 |
| Component: | DragDrop | Severity: | S3 (normal) |
| Assigned To: | Dav Glass | Target Release: | 3.6.0 |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | Y.Plugin.DDWinScroll, failing, vertically | Relates To: | |
| Browsers: | All | ||
| URL: | http://yuilibrary.com/yui/docs/dd/winscroll.html | ||
| Test Information: | |||
Change History
|
Posted: 05/14/12
|
|
Posted: 05/14/12
I can't replicate this, the window scrolls in all directions in all the browsers I tested in (Chrome, FF, Safari, IE6,7,8,9) |
|
Posted: 05/14/12
Here's a screenshot showing the trigger areas to trigger scrolling. As can be seen, the trigger area for scrolling right is large and easy to trigger, but the trigger areas for scrolling up, down and left are very small and hard to trigger. It took a lot of mousing around to get those areas to scroll, and initially, I thought scrolling wasn't working at all. |
|
Posted: 05/14/12
See the attachment for the screenshot. |
|
Posted: 05/15/12
This works as expected, there is a config option called "buffer" on the scroll plugin that allows this to be configurable: http://yuilibrary.com/yui/docs/api/classes/DD.Scroll.html#attr_buffer |
Edit: The scrolling does work vertically, but it is very hard to trigger. When scrolling horizontally, if the mouse is outside the browser, the scrolling still happens.
For vertically scrolling, if the mouse is outside the browser, the scrolling does not work. There is just a tiny "trigger area" for the vertically scrolling to work.