[JetStream] Migrate the bringIntoViewIfChildrenAreFocused modifier from composed function to Modifier.Node

Open
#171 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
kotlin
Domain
mobile

Research direction

Locate the bringIntoViewIfChildrenAreFocused definition in the JetStream sample and inspect nearby Modifier.Node implementations first. Migrate this modifier away from composed while preserving its behavior, then run the sample's available checks to confirm it still builds and the modifier works as before.

Written by the indexing model from the issue text.

Description

  • The bringIntoViewIfChildrenAreFocused modifier uses composed function.
  • The composed function causes the whole modifier chain to be re-composed every time.
  • The bringIntoViewIfChildrenAreFocused modifier should switch its implementation to Modifer.Node for better performance.
Dominant language
Kotlin
Stars
1.3k
Forks
400
Avg merge
9d 10h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/tv-samples

All issues in android/tv-samples

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.