mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #190] [MERGED] Fix Android intro typewriter blocking touch-scroll in Game Mode #4496
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#4496
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/190
Author: @Romuromylus
Created: 4/22/2026
Status: ✅ Merged
Merged: 4/23/2026
Merged by: @SpicyMarinara
Base:
main← Head:fix-android-intro-scroll📝 Commits (1)
e2c1226Fix Android intro typewriter blocking touch-scroll📊 Changes
1 file changed (+7 additions, -4 deletions)
View changed files
📝
packages/client/src/components/game/GameSurface.tsx(+7 -4)📄 Description
Summary
IntroTypewriterin GameSurface.tsx wrapped its text in a<div className="overflow-y-auto">and auto-scrolled that inner div. The inner div had no height constraint so it never actually scrolled — but on Android Chrome the nested overflow container still captured touch events and blocked scroll-chaining up to the parent (min-h-0 flex-1 overflow-y-auto). Desktop mouse-wheel chains through nested overflow naturally, which is why Windows was unaffected.overflow-y-autoand track the reveal edge with a sentinel<span>+scrollIntoView({ block: "end" }). The outer scroll container now handles touch input unimpeded, and the reveal-follow behavior is preserved.Test plan
pnpm --filter @marinara-engine/client exec tsc --noEmit).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.