Skip to content

Bugfix: Stabilize Focused Text Input Scrolling - #519

Merged
marcprux merged 2 commits into
skiptools:mainfrom
fhasse95:Focused-Text-Input-Scrolling-Bugfix
Sep 30, 2026
Merged

marcprux merged 2 commits into
skiptools:mainfrom
fhasse95:Focused-Text-Input-Scrolling-Bugfix

Conversation

@fhasse95

@fhasse95 fhasse95 commented Sep 1, 2026

Copy link
Copy Markdown
Member

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.


@cla-bot cla-bot Bot added the cla-signed label Sep 1, 2026
@fhasse95 fhasse95 mentioned this pull request Sep 1, 2026
6 of 7 tasks

@marcprux marcprux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good, but it appears a merge conflict has since been introduced. Can you resolve it in your branch so I can merge?

@fhasse95

Copy link
Copy Markdown
Member Author

This looks good, but it appears a merge conflict has since been introduced. Can you resolve it in your branch so I can merge?

Sure, I’ve resolved the merge conflict in my branch and pushed the changes 👍🏻

@fhasse95
fhasse95 requested a review from marcprux September 30, 2026 22:41
@marcprux
marcprux merged commit 7884424 into skiptools:main Sep 30, 2026
2 checks passed
@fhasse95
fhasse95 deleted the Focused-Text-Input-Scrolling-Bugfix branch September 30, 2026 23:05
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.

2 participants