duckduckgo / duckduckgo/Android
[Bug] Hiding URL bar on scroll doesn't work well with Flutter web apps
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 170
Description
Describe the bug
It seems that DDG considers every website scrollable and hides the URL bar. This introduces an empty bar below the page. If I go to https://example.com and scroll down, the web page constantly rerenders to fill the created empty space. However, Flutter web apps do not re-render, which makes the user experience for web apps with bottom navigation bars pretty bad.
How to Reproduce
- Go to https://wonderous.app/web
- Open any of the wonders
- Scroll down
The URL bar disappears and an empty space appears below the bottom navigation bar. (The white bar at the top of the screenshot is the task bar of my phone and gets hidden during screenshots.)
Expected behavior
Not sure what the desired behavior is here. I feel like pages should not be scrollable if they don't actually extend beyond the screen.
Environment
- DDG App Version: 5.201.1
- Device: Pixel 8
- OS: Android 14
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem at wonderous.app/web in DDG App 5.201.1 on Android 14 using the reported scroll steps, then trace the app's URL-bar and page-scroll handling. Done means the URL bar behavior no longer leaves an empty space beneath Flutter web apps with bottom navigation bars, with the expected behavior agreed first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100