diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2017-05-24 10:43:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-24 10:43:55 +0300 |
commit | 642b0adb2c4e078d766f6b5a4beac1b962dc7c91 (patch) | |
tree | faabc66ebc48a468a61a95e4b9c94cd1dde64d45 /server/src/main/java/com/vaadin | |
parent | 00adf36ec3502634a87419bd5485e1c883a98f21 (diff) | |
download | vaadin-framework-642b0adb2c4e078d766f6b5a4beac1b962dc7c91.tar.gz vaadin-framework-642b0adb2c4e078d766f6b5a4beac1b962dc7c91.zip |
Fix drop indicator when Grid is scrolled (#9417)
Now the DnD events are listened from tablewrapper element,
which contains also grid's header and footer, making it possible to
drop on top of them.
Diffstat (limited to 'server/src/main/java/com/vaadin')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/components/grid/GridDropEvent.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/GridDropEvent.java b/server/src/main/java/com/vaadin/ui/components/grid/GridDropEvent.java index e6af56d66d..aa80cdc7b8 100644 --- a/server/src/main/java/com/vaadin/ui/components/grid/GridDropEvent.java +++ b/server/src/main/java/com/vaadin/ui/components/grid/GridDropEvent.java @@ -87,8 +87,9 @@ public class GridDropEvent<T> extends DropEvent<Grid<T>> { * Get the location of the drop within the row. * <p> * <em>NOTE: when dropped on an empty grid, or when {@link DropMode#ON_TOP} - * is used and the drop happened on empty space after last row, the location - * will be {@link DropLocation#EMPTY}.</em> + * is used and the drop happened on empty space after last row or on top of + * the header / footer, the location will be + * {@link DropLocation#EMPTY}.</em> * * @return Location of the drop within the row. * @see GridDropTarget#setDropMode(DropMode) |