Bug 1930931 - Make the dragging interaction still happens when the event target frame is moved/destroyed upon mousedown r=masayuki,dom-core
Differential Revision: https://phabricator.services.mozilla.com/D238318
This commit is contained in:
@@ -2230,6 +2230,9 @@ void PresShell::NotifyDestroyingFrame(nsIFrame* aFrame) {
|
||||
}
|
||||
}
|
||||
|
||||
EventStateManager* const esm = mPresContext->EventStateManager();
|
||||
esm->NotifyDestroyingFrameForGesture(aFrame);
|
||||
|
||||
mFramesToDirty.Remove(aFrame);
|
||||
|
||||
if (ScrollContainerFrame* scrollContainerFrame = do_QueryFrame(aFrame)) {
|
||||
|
||||
Reference in New Issue
Block a user