Skip to content

Bugfix: Stabilize Focused Text Input Scrolling - #519

Open
fhasse95 wants to merge 1 commit into
skiptools:mainfrom
fhasse95:Focused-Text-Input-Scrolling-Bugfix
Open

Bugfix: Stabilize Focused Text Input Scrolling#519
fhasse95 wants to merge 1 commit into
skiptools:mainfrom
fhasse95:Focused-Text-Input-Scrolling-Bugfix

Conversation

@fhasse95

@fhasse95 fhasse95 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

This PR stabilizes scrolling behavior for focused TextField and TextEditor views inside List and Table.

Before this change, the list item placement animation could continue running while a focused text input was inside the scrolling row. On Android/Compose, the focused text input layout can update independently from the surrounding LazyColumn item placement animation. Visually, this could make the focused TextField or TextEditor appear to lag behind the rest of the row while scrolling.

To reproduce:

  1. Open a form-style List containing a TextField or TextEditor (e.g. the bottom text field in the FormPlayground of the Skip Showcase app).
  2. Focus the text input so the cursor is active.
  3. Scroll the list while the text input remains focused.
  4. Observe that the focused input can visually lag behind the surrounding content.

Below is a before/after comparison of this example:

Before:
Before

After:
After

As you can see, the focused text input now scrolls together with its row after this change.


Thank you for contributing to the Skip project! Please review the contribution guide at https://skip.dev/docs/contributing/ for advice and guidance on making high-quality PRs.

Use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device
  • REQUIRED: I have checked whether this change requires a corresponding update in the Skip Fuse UI repository (link related PR if applicable)
  • OPTIONAL: I have added an example of any UI changes to the Showcase sample app

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

I used Codex to iteratively investigate and refine the fix for the focused text input scrolling issue. To verify the results, I tested multiple playground views which contain text fields or text editors in the Skip Showcase app and my own Skip app. All of these scenarios work properly after the bug fix.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant