Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Chrome, scrolling will not hide browser address bar #109502

Closed
J-Siu opened this issue Aug 13, 2022 · 2 comments
Closed

Android Chrome, scrolling will not hide browser address bar #109502

J-Siu opened this issue Aug 13, 2022 · 2 comments
Labels
r: duplicate Issue is closed as a duplicate of an existing issue

Comments

@J-Siu
Copy link

J-Siu commented Aug 13, 2022

Steps to Reproduce

  1. On Android Chrome, go to : https://j-siu.github.io/app/flutter_scroll/#/
  2. Scroll up and down

Expected results:

On Android Chrome, scroll down should hide the address bar.

Actual results:

On Android Chrome, browser address bar will not hide.

Minimum to show issue

repo: https://github.com/J-Siu/flutter_scroll

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    Widget text = const Text(
      'text',
      style: TextStyle(backgroundColor: Colors.black, color: Colors.white),
    );
    List<Widget> children = [];
    for (int i = 0; i < 100; i++) {
      children.add(text);
    }
    return MaterialApp(
      title: 'Scroll',
      home: Scrollbar(
        child: SingleChildScrollView(
          child: ColoredBox(
            color: Colors.black,
            child: Center(child: Column(children: children)),
          ),
        ),
      ),
    );
  }
}
Logs

(This is not useful as it only show in mobile. desktop has no issue)
flutter_scroll.log

Analyzing flutter_scroll...
No issues found! (ran in 8.7s)
$ flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5 21G72 darwin-x64, locale en-CA)
    • Flutter version 3.0.5 at /usr/local/Caskroom/flutter/3.0.1/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (4 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/js/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Users/js/Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.70.1)
    • VS Code at /Users/js/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 104.0.5112.79

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
@huycozy huycozy added the in triage Presently being triaged by the triage team label Aug 15, 2022
@huycozy
Copy link
Member

huycozy commented Aug 15, 2022

Hi @J-Siu, thanks for filing the issue.
I see there's an open issue addressing the case you described #69529
You can leave there your comment and react an upvote to the original comment will help to raise the issue.
Closing as a duplication, so please follow up on it for further updates.

@huycozy huycozy closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2022
@huycozy huycozy added r: duplicate Issue is closed as a duplicate of an existing issue and removed in triage Presently being triaged by the triage team labels Aug 15, 2022
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: duplicate Issue is closed as a duplicate of an existing issue
Projects
None yet
Development

No branches or pull requests

2 participants