Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Commit 6072f03

Browse files
mcararervandermeulen
authored andcommitted
Bug 1885095 - Do not propagate requestDisallowInterceptTouchEvent.
1 parent 6c247fe commit 6072f03

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

focus-android/app/src/main/java/org/mozilla/focus/widget/ResizableKeyboardCoordinatorLayout.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ class ResizableKeyboardCoordinatorLayout @JvmOverloads constructor(
2626
super.onDetachedFromWindow()
2727
delegate.onDetachedFromWindow()
2828
}
29+
30+
override fun requestDisallowInterceptTouchEvent(b: Boolean) {
31+
// As this is a direct parent of EngineView, we don't want to propagate this request to the parent
32+
// because that would prevent the hiding of the toolbar.
33+
}
2934
}

0 commit comments

Comments
 (0)