fredsa / gwt-dnd

Library providing easy to use mouse or touch based drag-and-drop capabilities to GWT
42 stars 41 forks source link

scrollbar issue (capturingWidget width and height) #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of GWT are you using? 1.3.3? 1.4.60? Other?

GWT 2.0

What version of the gwt-dnd jar file or library file are you using?

GWT-DND 3.0

What operating system(s) are you using? Windows? Linux? Mac?

Windows

Does the issue occur in web mode, hosted mode, both or don't know?

Both

What browser(s) do you use? Firefox, IE, Safari, other?

Yes.

What is the browser version (if you know) from Help->About?

IE 7,8. FF 3.5.7, Chrome 5.0.307.1 dev, etc

What steps will reproduce the problem? Please attach sample code if you
can.
1. Start your example http://allen-
sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#Inser
tPanelExample with maximized browser window
2. Start drag smt
3. Shrink browser window to have only working area of the exaple
4. Start drag smt again

What is the expected output? What do you see instead?

Expected to have no unexpected scrollbars.
Instead, a big ugly horizontal scrollbar appears to fill the clientWidth

Do you have a workaround?

Position and dimantions for "capturingWidget" in MouseDragHandler.java 
should be changed to match working area.

Please provide any additional information below.

Original issue reported on code.google.com by bogdan.w...@gmail.com on 2 Feb 2010 at 9:23

Attachments:

GoogleCodeExporter commented 9 years ago
Or maybe changing width and height to 100%, so changing browser window size will
affect the size of capturingWidget element also and prevent this scrollbar

Original comment by bogdan.w...@gmail.com on 3 Feb 2010 at 9:15

GoogleCodeExporter commented 9 years ago
Fixed in r1019

Original comment by fredsa@google.com on 1 Apr 2010 at 8:48