When in overlay mode, you can't drag an item to a part of the screen not currently visible in the browser window when you begin dragging.

Reproduce problem:
1. go to: #overlay=admin/structure/block
2. Try to drag a block from the bottom of the "disabled" section to one of the sections at the top of the page. You won't be able to.

The dragging is stopped by the Shortcut bar. If shortcut is turned off the dragging gets stopped by the Toolbar. If Toolbar is turned off, the dragging is stopped by the browser window.

With overlay module off or if you navigate to the page without the overlay, in this case: admin/structure/block, you will get the expected behavior.

I've confirmed this for Mac Firefox 3.5.7 and for Mac Chrome (a dev release from this week) and Mac Safari 4.04.

Shai
Check out the D7 sandbox I set up at: http://d7sandbox.net

Comments

Dave Reid’s picture

casey’s picture

I can't reproduce on my windows machine (firefox 3.6, chrome 4). Do you get any errors?

/Edit I understand the issue now.

This has same cause as #649662: Sticky tableheaders don't work in Overlay and there are probably more. This is because the overlay iframe is resized to fit it's contents. dragging something towards a border of the viewport won't scroll the iframe (as it's not the border of the iframe).

Anyway hard to explain... :S

sun.core’s picture

Title: Drag & Drop Not Fully Functional While Using Overly » Drag & Drop Not Fully Functional While Using Overlay
Priority: Critical » Normal

Not critical. Please read and understand Priority levels of Issues, thanks.

casey’s picture

Priority: Normal » Critical

Critical because you basicly can't use overlay on pages like admin/structure/block

amc’s picture

subscribing

bleen’s picture

Status: Active » Postponed

If #668640: Overlay shouldn't be based on jQuery UI Dialog drops, then this issue is fixed ... however, it sounds like there is no guarantee that it will make it in.

I'm going to mark this as postponed for now... we can either mark this as active or closed when decision is made on #668640: Overlay shouldn't be based on jQuery UI Dialog

webchick’s picture

Status: Postponed » Fixed

Since #668640: Overlay shouldn't be based on jQuery UI Dialog is in now, I guess this is fixed? Dashboard seems to be basically working here, at any rate.

aspilicious’s picture

Status: Fixed » Needs work

Needs work for IE (if it is fixable, srry ;) )

roborn’s picture

@aspilicious: I tested the latest release on IE6, 7 and 8, and didn't notice this issue. Can you confirm this issue is fixed?

casey’s picture

Priority: Critical » Normal

Nope its not fully fixed; it might improve this a bit more. but its quite usable now.

aspilicious’s picture

In IE go the the block page and try to drag blocks from the bottom to the top. That doesn't work in one movement.

Firefox, chrome and opera can do this but kinda slow.

casey’s picture

Status: Needs work » Active

There's no patch.