Skip to content

fix(#326): reset highlights carousel to first card on pull-to-refresh - #341

Merged
cassio-rossi merged 2 commits into
release/v5from
factory/001-retornar-ao-in-cio
Nov 18, 2026
Merged

cassio-rossi merged 2 commits into
release/v5from
factory/001-retornar-ao-in-cio

Conversation

@cassio-rossi

Copy link
Copy Markdown
Collaborator

Closes #326

Summary

  • The Destaques carousel in NewsLibrary.NewsView now has its own ScrollPosition (highlightsScrollPosition) and no longer shares the main list's binding.
  • Every user pull-to-refresh on News scrolls the carousel back to the first card, with animation, once getNews() returns.
  • The existing reset (the list goes back to the top when the highlights change) is unchanged. Push and background reloads do not touch the carousel.

🤖 Generated with Claude Code

@cassio-rossi
cassio-rossi marked this pull request as ready for review November 18, 2026 19:01
@cassio-rossi
cassio-rossi merged commit 5705f81 into release/v5 Nov 18, 2026
1 check passed
@cassio-rossi
cassio-rossi deleted the factory/001-retornar-ao-in-cio branch November 18, 2026 19:01
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.

Retornar ao início do carrossel de Destaques ao atualizar?

1 participant