GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(mobile): stabilize scroll-to-end control by Kapish14 · Pull Request #6232 · pingdotgg/t3code

Conversation

@Kapish14

@Kapish14 Kapish14 commented Aug 11, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Problem

Follow-up to #5986, which introduced the mobile scroll-to-end button.

The mobile scroll-to-end button could briefly appear while dragging at the actual end of a thread because its visibility followed the live-follow latch alone.

The button also overlapped messages and alerts shown above the composer, making both elements harder to see and use.

Fix

Track whether the feed is actually at the end separately from whether live follow is enabled. The button now appears only when live follow is paused and the feed is away from the end.

Raise the button slightly and keep it in a fixed position above composer messages and alerts so the elements no longer overlap.

Validation

  • vp test run apps/mobile/src/features/threads/thread-feed-live-follow.test.ts
  • vp run --filter @t3tools/mobile typecheck
  • Targeted formatting and lint checks
  • Standalone Android Preview APK built and tested on an OPPO CPH2707

Before

WhatsApp.Video.2026-08-12.at.03.50.35.mp4

After

WhatsApp.Video.2026-08-12.at.03.50.41.mp4

Note

Low Risk
UI-only scroll affordance and positioning tweaks in the mobile thread feed, with no auth, data, or backend impact.

Overview
Prevents the mobile scroll-to-end button from briefly appearing when a drag starts while already at the live edge.

ThreadFeed now reports actual at-end state separately from the live-follow latch. The button shows only when follow is paused and the feed is away from the end, with thread-switch state reset via resolveThreadFeedAtEndState.

Also raises the floating control (-top-11 → -top-24) so it no longer overlaps composer messages and alerts.

Reviewed by Cursor Bugbot for commit 904a5b6. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Fix scroll-to-end button visibility in thread feed to hide when feed is already at end

  • Adds shouldShowThreadFeedScrollToEnd to gate button visibility on both live follow being paused and the feed not being at the end — previously the button could appear even when already at the end.
  • Tracks per-thread at-end state in ThreadDetailScreen via a new feedAtEndState keyed by thread key, reset to true on thread switch or anchor-based jumps.
  • Exposes an onAtEndChange callback on ThreadFeed to propagate scroll position changes to the parent.
  • Moves the scroll-to-end button container position from -top-11 to -top-24, rendering it higher above the composer.

Macroscope summarized 904a5b6.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Kapish14
fix(mobile): stabilize scroll-to-end control
b69fef9
@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4f5f8e8c-9734-46d9-98d8-3dc90d9c47d9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Aug 11, 2026
@Kapish14
Kapish14 marked this pull request as ready for review August 11, 2026 22:23
cursor[bot]
cursor Bot reviewed Aug 11, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b69fef9. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/mobile/src/features/threads/ThreadDetailScreen.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp

macroscopeapp Bot commented Aug 11, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved 904a5b6

Straightforward UI behavior fix that stabilizes scroll-to-end button visibility using simple pure functions with comprehensive unit tests. Limited scope, self-contained, no runtime risk beyond the UI control it fixes.

You can customize Macroscope's approvability policy. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Kapish14
fix(mobile): reset scroll state on thread switch
904a5b6
macroscopeapp[bot]
macroscopeapp Bot approved these changes Aug 11, 2026
View reviewed changes
@juliusmarminge

juliusmarminge commented Sep 7, 2026

Copy link
Copy Markdown
Member

Closing as part of the open-PR backlog sweep (wave 1).

Reason: Mobile live-follow helpers already landed; later Julius scroll fixes
Related: #5986 / #10486

Reopen if this is still wanted and you’re willing to rebase onto current main.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Sep 7, 2026
@zero-two-rafaeltab zero-two-rafaeltab mentioned this pull request Sep 15, 2026
fix(mobile): hide scroll-to-end button while dragging at the bottom #11854
Closed
@juliusmarminge juliusmarminge mentioned this pull request Sep 20, 2026
[Bug]: Android: scroll-to-bottom arrow is shown even when already scrolled to the very bottom #12754
Closed
2 tasks done
@only21mil only21mil mentioned this pull request Oct 25, 2026
fix(mobile): scroll-to-end arrow stays hidden at the end of the feed #24869
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments
@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Kapish14 @juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.