Skip to content

Fix CarouselAutoAdvanceEffect#2748

Merged
StageGuard merged 10 commits intoopen-ani:mainfrom
Kesoft:fix-issue-2642
Jan 4, 2026
Merged

Fix CarouselAutoAdvanceEffect#2748
StageGuard merged 10 commits intoopen-ani:mainfrom
Kesoft:fix-issue-2642

Conversation

@Kesoft
Copy link
Copy Markdown
Contributor

@Kesoft Kesoft commented Jan 1, 2026

修复首页轮播图抽搐
fix issue #2642

Copilot AI review requested due to automatic review settings January 1, 2026 08:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to fix issue #2642, which reports stuttering behavior in the homepage carousel when auto-advancing to the last slide on Android devices.

Key Changes

  • Modified the target page calculation logic to check for floating-point offset drift and reset to page 0 when drift exceeds 0.1
  • Replaced the configurable animation spec with a hardcoded tween animation (300ms, LinearEasing)
  • Added a synchronous scrollToItem call after the animated scroll to ensure position precision

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Kesoft and others added 7 commits January 1, 2026 17:08
@StageGuard StageGuard changed the title fix issue #2642 Fix CarouselAutoAdvanceEffect Jan 2, 2026
@StageGuard StageGuard enabled auto-merge (squash) January 3, 2026 15:55
@StageGuard StageGuard disabled auto-merge January 3, 2026 15:55
@StageGuard StageGuard enabled auto-merge (squash) January 3, 2026 15:56
@StageGuard StageGuard disabled auto-merge January 4, 2026 09:20
@StageGuard StageGuard merged commit 5b34b09 into open-ani:main Jan 4, 2026
@Kesoft Kesoft deleted the fix-issue-2642 branch January 4, 2026 09:21
@Him188 Him188 added this to the 5.3.0 milestone Jan 5, 2026
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.

4 participants