mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5667] [Issue]: Remaining raw env(safe-area-inset-bottom) consumers still double-pad on Android Firefox #3138
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Romuromylus on GitHub (Aug 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5667
Originally assigned to: @Romuromylus on GitHub.
Summary
#5665 / #5666 fixed the Android Firefox double-compensated bottom padding on the mobile shell panels and the chat composer by routing them through the
--mari-safe-area-inset-bottomoverride hook, which is zeroed for Gecko. Roughly 25 other client call sites still consumeenv(safe-area-inset-bottom)raw, so the same dead band (~ the navigation-bar height, up to their own caps) still appears on those surfaces in Firefox on Android.Expected behavior
All bottom safe-area padding goes through
var(--mari-safe-area-inset-bottom, env(safe-area-inset-bottom))so the Gecko zero-override (and any future shell-published inset) applies consistently across every surface.Actual behavior
Full-screen mobile modals and drawers still double-compensate on Android Firefox. Known raw consumers include:
Modal.tsx(fullscreen mobile variant),ChatSettingsDrawer.tsx,ChatGalleryDrawer.tsx,ChatCommonOverlays.tsx,ChatSetupWizard.tsx,SelectionActionBar.tsx,MacroTextarea.tsx,AboutMeViewerModal.tsx,HomeBrowserHub.tsx,HomeProfessorMariChat.tsx,PresetEditor.tsx(modal shell), the game-asset modals (ImagePreviewModal,FileEditorModal,AudioPlayerModal), and the game overlays (GameCharacterSheet,GameInventory,GameNarration,GameReadableDisplay,GameSetupWizard,NewGameExperienceChooser), plus a fewglobals.cssrules (e.g. the Professor Mari chat launcher offsets around lines 7241-7258).Steps to reproduce
Environment
Logs, screenshots, or video
See the screenshots on #5665 for the band's appearance; the remaining surfaces show the same artifact.
Additional context
Follow-up to #5665, split out of #5666 to keep that fix reviewable. The migration is mechanical (wrap each raw
env(safe-area-inset-bottom)in the override var), but each surface should be eyeballed on iOS afterwards since several use it as amax()floor inside modal centering rather than as bottom-nav clearance.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Romuromylus commented on GitHub (Aug 30, 2026):
Fixed by #5675, squash-merged into staging as
bddb668. Every remaining raw env(safe-area-inset-bottom) consumer in the app client now routes through the Gecko-aware override hook, and the mobile-safe-area-inset regression sweeps the client source so a raw consumer can't silently return.