Fix outside window dragging
This commit is contained in:
@@ -1031,7 +1031,7 @@ class PluggableMap extends BaseObject {
|
|||||||
);
|
);
|
||||||
if (
|
if (
|
||||||
this.overlayContainerStopEvent_.contains(target) ||
|
this.overlayContainerStopEvent_.contains(target) ||
|
||||||
!(document.body.contains(target) || this.viewport_.contains(target))
|
!(document.body.contains(target) || rootNode.contains(target))
|
||||||
) {
|
) {
|
||||||
// Abort if the event target is a child of the container that doesn't allow
|
// Abort if the event target is a child of the container that doesn't allow
|
||||||
// event propagation or is no longer in the page. It's possible for the target to no longer
|
// event propagation or is no longer in the page. It's possible for the target to no longer
|
||||||
|
|||||||
Reference in New Issue
Block a user