diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/NavigationBarWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/NavigationBarWidget.java index 0ff2d5445b..f947f0d2a0 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/NavigationBarWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/NavigationBarWidget.java @@ -1285,6 +1285,7 @@ public void onSendTab() { @Override public void onFindInPage() { hideMenu(); + mAttachedWindow.hidePanel(); mViewModel.setIsFindInPage(true); } diff --git a/app/src/common/shared/com/igalia/wolvic/ui/widgets/WindowWidget.java b/app/src/common/shared/com/igalia/wolvic/ui/widgets/WindowWidget.java index 81d1eac5b9..00f119d0cc 100644 --- a/app/src/common/shared/com/igalia/wolvic/ui/widgets/WindowWidget.java +++ b/app/src/common/shared/com/igalia/wolvic/ui/widgets/WindowWidget.java @@ -519,6 +519,7 @@ private void showPanel(@Windows.PanelType int panelType, boolean switchSurface) setView(mLibrary, switchSurface); mLibrary.selectPanel(panelType); mLibrary.onShow(); + mViewModel.setIsFindInPage(false); mViewModel.setIsPanelVisible(true); if (mRestoreFirstPaint == null && !isFirstPaintReady() && (mFirstDrawCallback != null) && (mSurface != null)) { final Runnable firstDrawCallback = mFirstDrawCallback;