Skip to content

Introduce an API to the Fluent Notification that draws attention to the notification#2193

Merged
cbowdoin merged 8 commits intomicrosoft:mainfrom
cbowdoin:user/cbowdoin/NotificationBumpAnimation
Aug 6, 2025
Merged

Introduce an API to the Fluent Notification that draws attention to the notification#2193
cbowdoin merged 8 commits intomicrosoft:mainfrom
cbowdoin:user/cbowdoin/NotificationBumpAnimation

Conversation

@cbowdoin
Copy link
Copy Markdown
Contributor

@cbowdoin cbowdoin commented Jul 22, 2025

Platforms Impacted

  • iOS
  • visionOS

Description of changes

Added in a bump API to the notification that preforms a bouncy animation to highlight the notification while it is presented. This is done using 2 spring animations. We animate to some offset and then animated using a spring animation back to the origin point with enouch velocity that it animates past the point.

Implemented a demo of this in the demo controller

Verification

Validated using the demo controller that the animation runs an looks smooth without causing issues to the dismiss animation.

Visual Verification
Before After
Did not exist Simulator Screen Recording - iPad Pro 13-inch (M4) - 2025-07-22 at 15 52 24

Pull request checklist

This PR has considered:

  • SwiftUI consumption (validation or new demo scenarios needed)
  • Objective-C exposure
Microsoft Reviewers: Open in CodeFlow

@cbowdoin cbowdoin requested a review from a team as a code owner July 22, 2025 23:03
@cbowdoin cbowdoin assigned cbowdoin and lukas-cap and unassigned cbowdoin Jul 22, 2025
@cbowdoin cbowdoin merged commit 38cfb1f into microsoft:main Aug 6, 2025
12 of 13 checks passed
@joannaquu joannaquu mentioned this pull request Oct 23, 2025
12 tasks
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.

5 participants