Skip to content

[Bug] Misarranged layout on mobile in article view in PWA mode #498

@noctux

Description

@noctux

Describe the Bug

When installing reactflux as a PWA on mobile, and opening an unread article from, the layout in the article view is initially fine, including the bottom bar with the action buttons.

However, ocassionally a grey bar appears at the bottom of the screen and shifts down the rest of the view, moving the bottom toolbar partly or completely off the screen (see screenshots).
This appears more often when opening the article in an external browser and then switching back or when moving back to the previous article using slide gestures (so sliding inwards from the left border).

As far as I can tell, the issue does not occur when using the website (instead of the PWA).

The issue occurs both with Fennec (org.mozilla.fennec_fdroid, version 143.0.3 a fork of firefox for android) and Vanadium (version 141.0.7390.122.0, a variant of Android Webview that ships with Grapheneos), so it is most likely not a browser issue.
The issue occurrs for instance on commit 63cbeda of the gh-pages branch.

Steps to Reproduce

  1. Visit the reactflux page with a browser on an android device
  2. Install the PWA (Browser Menu -> Add to homescreen)
  3. Open reactflux via the icon on android's homescreen
  4. Miniflux reopens (without an url/address bar in PWA mode)
  5. Open an article
  6. Open an url in external Browser and go back
  7. OR: swipe right/left some times to access next/previous article

Expected Behavior

The toolbar stays put on the bottom of the screen, no grey bar appears at the top of the screen.

Screenshots / Videos

Image Image

N.B.: The "You need to enable Javascript" is a misleading statement, as Javascript is misleading. I assume that react places it as a plain HTML element on the bottom of the page and renders its SPA over it, but when the page is shifted downwards, it gets visible again.

ReactFlux Version

5f98341

Miniflux Version

v2.2.13

Browser

org.mozilla.fennec_fdroid, version 143.0.3, Vanadium version 141.0.7390.122.0

Operating System

GrapheneOS/Android 16

Device

Google Pixel 8a

Console Errors

Additional Context

Thank you for ReactFlux, it greatly improves miniflux's usability for me :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions