Skip to content

firefox_and_mouseHandler

https://www.google.com/accounts/o8/id?id=AItOawlwbukBtEEvdKIB9WDW-WX8vG2vAJVK-dc edited this page Oct 12, 2011 · 1 revision

There is a bug in Firefox that you might find under the following scenario: <br><br> You have two panels with mouseListeners. Each panel either has an "overflow" style or is the child of different parents with "overflow" css. You click and hold on one and drag the mouse over to the other and release. What you would expect is that the second panel triggers the onMouseUp(), but on Firefox it does not. <br><br> This is a bug in Firefox that has yet to be fixed:<br> https://bugzilla.mozilla.org/show_bug.cgi?id=346860 <br><br> The workaround (as mentioned in the bug report) is to use the following css:<br> -moz-user-select: -moz-none;<br> What it does is prevent the user from selecting any text. It definitely works if you put it in the <body>, but might also work on a lower level.

Something went wrong with that request. Please try again.