Skip to content

Uses actual consumed safe drawing inset when composing TopicScreen#1795

Open
anhtuannd wants to merge 1 commit intoandroid:mainfrom
anhtuannd:fix_1780_insets
Open

Uses actual consumed safe drawing inset when composing TopicScreen#1795
anhtuannd wants to merge 1 commit intoandroid:mainfrom
anhtuannd:fix_1780_insets

Conversation

@anhtuannd
Copy link
Copy Markdown

Closes #1780

Modifier.windowInsetsTopHeight was reset to 0 when navigating from child navigation to another top level navigation, which caused the Spacer not to render and LazyListState to update the top position to item 1 instead of item 0 (Spacer).

…reen.

Modifier.windowInsetsTopHeight was reset to 0 when navigating from child navigation to top level navigation, caused Spacer not render, and LazyListState updated top position to item 1 instead of 0 (Spacer).
@tobioyelekan
Copy link
Copy Markdown
Contributor

Can you also add a screen record of the fix?

@anhtuannd
Copy link
Copy Markdown
Author

@tobioyelekan

Screen_recording_20250108_234739.mp4

@alexvanyo alexvanyo self-requested a review January 9, 2025 19:02
@Jaehwa-Noh
Copy link
Copy Markdown
Contributor

Does your solution still in edge-to-edge on Interests screen?

@anhtuannd
Copy link
Copy Markdown
Author

anhtuannd commented Jan 20, 2025

@Jaehwa-Noh yes

For you Interests
Screenshot_20250120_145156{ width=400px } Screenshot_20250120_145458{ width=400px }

@anhtuannd
Copy link
Copy Markdown
Author

@alexvanyo How do you think about this patch?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Wrong list position when navigate back to topic screen in For You tab

3 participants