mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
core: the propagation for the mousedown has to be stopped in the mouse logic, otherwise causes much pain for nested widgets (fixes #3910)
This commit is contained in:
parent
a84ce3f015
commit
3d4bc637e9
@ -455,6 +455,11 @@ $.ui.mouse = {
|
|||||||
// anymore, so this fix is needed
|
// anymore, so this fix is needed
|
||||||
($.browser.safari || event.preventDefault());
|
($.browser.safari || event.preventDefault());
|
||||||
|
|
||||||
|
// was changed to return true in rev 1000 because that allows the
|
||||||
|
// event to bubble - however, exactly that causes much pain for
|
||||||
|
// nested widgets, so we call stopPropagation(). Building a work-
|
||||||
|
// around for the above is much easier.
|
||||||
|
event.stopPropagation();
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user