google-code-export / gwt-dnd

Automatically exported from code.google.com/p/gwt-dnd
0 stars 0 forks source link

Chrome: Property 'getSelection' of object is not a function #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What doctype: <!doctype html>

What gwt version:  GWT 2.4.0

What gwt-dnd version  : 3.1.2

What operating system: Mac 

Does the issue occur in web mode, development mode : both 

What browser(s) do you use: Chrome, Firefox, Safari, Opera, (not tested with IE)

What is the browser version: Chrome Version 27.0.1453.93

----

First, thanks for you great work, using your project was really straightforward 
!

I'm using a simple example based on "Demo 5"

When using a VerticalPanelDropController as dropcontroller and a FocusPanel as 
draggable item, all is working fine under firefox, safari and opera. 

But when using Chrome, it throws an exception : 

Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): 
Property 'getSelection' of object [object global] is not a function

When using "demo 5" at https://gwt-dnd.appspot.com/#InsertPanelExample with 
chrome I do not get that exception, except if I ctrl + click a draggable widget.

----

Bonus question: 

There seems to be an issue when dragging a panel containing elements with 
position: absolute 

---

Thanks again for your great work !

Antonin

Original issue reported on code.google.com by antonin....@gmail.com on 14 Oct 2013 at 9:20

GoogleCodeExporter commented 9 years ago
Hi,

That issue was not related to gwt-dnd but to the chrome 
plugin betterpopupblocker.

Original comment by antonin....@gmail.com on 22 Oct 2013 at 8:04

GoogleCodeExporter commented 9 years ago
Thanks!

Original comment by fredsa on 22 Oct 2013 at 8:11