Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating widgets break when dragged off screen in IE 10 #379

Closed
green3g opened this issue Feb 12, 2015 · 8 comments
Closed

Floating widgets break when dragged off screen in IE 10 #379

green3g opened this issue Feb 12, 2015 · 8 comments
Labels
Milestone

Comments

@green3g
Copy link
Member

green3g commented Feb 12, 2015

Hey there, I like the new addition of dragging the title panes around. That is a nice ui enhancement. One issue I noticed is if you click the 'detach' arrow and then try to drag the widget left off the screen, it gets 'stuck' to the mouse and after the button is released it still gets 'dragged around.

This is only happening in IE 10 to my knowledge, and isn't really that big of a deal as I'm not sure many people will try to drag widgets out of the window.

@tmcgee
Copy link
Member

tmcgee commented Feb 12, 2015

@roemhildtg Thanks for reporting this. I can confirm that it is occurring for me in IE 11 as well as IE 10. The odd part is that it appears to work without issue in IE9.

We use dojo/dnd (drag and drop) to detect the movement of the window while dragging. I tried debugging this and noticed that the onMoveStop is not being triggered so code that should run after the window stops moving does not run. Not sure if this is a bug in dojo/dnd or if I missed something when coding this functionality. I will dig further...

@tmcgee
Copy link
Member

tmcgee commented Jul 15, 2015

This was addressed in PR #409

@tmcgee tmcgee closed this as completed Jul 15, 2015
@kcsgisRham
Copy link

@tmcgee This problem seems to be persisting in IE 10 and 11 on Windows 7, 8 and 10 and also in the new Microsoft Edge. I have added the code from PR#405 to my project and we are still experiencing the same issue. Also, it is happening in the CMV demo site. I have downloaded the develop branch and it is not working.

It works as expected in Firefox and Chrome.

@tmcgee
Copy link
Member

tmcgee commented Sep 15, 2015

Hmmm. Thanks for posting this. I see what you mean. This was tested with IE10 and IE11 at the time and worked. Looks like something got borked between then and now.

@tmcgee tmcgee reopened this Sep 15, 2015
@tmcgee tmcgee added this to the v1.4.0 milestone Nov 23, 2015
@tmcgee
Copy link
Member

tmcgee commented Jan 27, 2016

@cmv/core-committers and everyone else: Can somebody else take a look at this issue? I've tried a couple of times and did not find a solution. Some fresh eyes would be helpful. Thanks in advance for any and all assistance provided.

@tmcgee
Copy link
Member

tmcgee commented Mar 26, 2016

I think I have finally discovered the problem here. Internet Explorer does not like a delay greater than zero for the dnd movable. Setting the delay to zero or omitting it completely solves the problem but causes a few other minor ones. I am reworking the code based on this discovery...

@cmccullough2
Copy link

Thank you for catching this issue. I just created a new issue that is the same as this. I did not see this post. I look forward to your update.

tmcgee added a commit that referenced this issue Apr 2, 2016
Fixes #379 - mouse does not release after dragging a floating widge when using IE.
The delay before a titlePane starts dragging from the side pane is now configurable.
@tmcgee
Copy link
Member

tmcgee commented Apr 3, 2016

Fixed as part of PR #530

@tmcgee tmcgee closed this as completed Apr 3, 2016
tmcgee added a commit that referenced this issue Oct 5, 2016
…windows.

dojo included with ESRI JS API 3.17+ adds detection for MS Edge browser so
we can use that as a more reliable approach to solving the original issue #379
with dragging floating windows in Internet Explorer and Edge browsers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants