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

[web] Allow Flutter apps to have 13% bigger screen after being scrolled down #64572

Closed
tomasbaran opened this issue Aug 25, 2020 · 3 comments
Closed
Labels
a: layout SystemChrome and Framework's Layout Issues c: proposal A detailed proposal for a change to Flutter engine flutter/engine repository. See also e: labels. f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list platform-web Web applications specifically

Comments

@tomasbaran
Copy link

Let browsers know you are scrolling a Flutter app, so it automatically hides the toolbars (like it happens in other websites)

Use case

Watch the upper bar get shrink and the bottom toolbar get disappear, so the app gets the bigger real estate.

This is how a non-flutter competing app does it:
giphy-3

This is how my Flutter app does it:
giphy

Look how much space the non-flutter app gets for their app.

Proposal

We, Flutter developers, should NOT be disadvantaged by choosing Flutter for our apps, while our competing apps get bigger real estate for their apps.

Other apps are able to reduce the toolbars that get in the way from 20% -> 7%. Flutter apps have that 20% in the way all the time.

@tomasbaran tomasbaran changed the title [web] Allow Flutter apps to have 13% bigger screen [web] Allow Flutter apps to have 13% bigger screen after being scrolled down Aug 25, 2020
@darshankawar darshankawar added a: layout SystemChrome and Framework's Layout Issues framework flutter/packages/flutter repository. See also f: labels. platform-web Web applications specifically c: proposal A detailed proposal for a change to Flutter f: scrolling Viewports, list views, slivers, etc. labels Aug 26, 2020
@ferhatb ferhatb added the P2 Important issues not at the top of the work list label Aug 27, 2020
@jamesblasco
Copy link
Contributor

It is not just to make it bigger. If the browser can't detect the scroll of a Flutter app features like scroll to top touching the status bar won't work either.

@Piinks Piinks added the engine flutter/engine repository. See also e: labels. label Sep 2, 2021
@Piinks
Copy link
Contributor

Piinks commented Sep 2, 2021

Hi @tomasbaran, thanks for reporting, I think this is a duplicate of #69529, there is more context and discussion there, so I am going to close this issue to consolidate it with that one. If you feel that this is a separate issue, let us know and we can reopen it. :) Thank you!

@Piinks Piinks closed this as completed Sep 2, 2021
@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 Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: layout SystemChrome and Framework's Layout Issues c: proposal A detailed proposal for a change to Flutter engine flutter/engine repository. See also e: labels. f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list platform-web Web applications specifically
Projects
None yet
Development

No branches or pull requests

6 participants