Fix dismissal of select popups on NotifyMoveOrResizeStarted (see issue #3294)

This impacts both Alloy and Chrome runtimes when using a native parent window.
This commit is contained in:
Marshall Greenblatt
2022-04-09 14:00:09 -04:00
parent 0428438e72
commit 5f4bccd672
6 changed files with 2 additions and 29 deletions

View File

@@ -684,14 +684,6 @@ void CefFrameImpl::DidStopLoading() {
OnDraggableRegionsChanged();
}
void CefFrameImpl::MoveOrResizeStarted() {
if (frame_) {
auto web_view = frame_->View();
if (web_view)
web_view->CancelPagePopup();
}
}
void CefFrameImpl::ContextLifecycleStateChanged(
blink::mojom::blink::FrameLifecycleState state) {
if (state == blink::mojom::FrameLifecycleState::kFrozen && IsMain() &&