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

Commit 76a4b30

Browse files
authored
Make sure url bar is not focused when window is detached (#3284)
1 parent 135a8ac commit 76a4b30

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/common/shared/org/mozilla/vrbrowser/ui/views/NavigationURLBar.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ private void initialize(Context aContext) {
240240

241241
public void detachFromWindow() {
242242
if (mViewModel != null) {
243+
mViewModel.setIsFocused(false);
243244
mViewModel.getIsLoading().removeObserver(mIsLoadingObserver);
244245
mViewModel.getIsBookmarked().removeObserver(mIsBookmarkedObserver);
245246
mViewModel = null;

0 commit comments

Comments
 (0)