duckduckgo / duckduckgo/Android

[Bug] Hiding URL bar on scroll doesn't work well with Flutter web apps

Open
#4,594 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs triage
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
  1. Go to https://wonderous.app/web
  2. Open any of the wonders
  3. 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.)

Screenshot_20240528-173257

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.