Skip to content

1.1.0

Latest

Choose a tag to compare

@mrkai77 mrkai77 released this 05 Apr 21:26
cd0b3e5

What's New

  • Configurable Animation Overrides (#46)

    You can now fully customize the transition animations of a DynamicNotch using the new DynamicNotchTransitionConfiguration. Override the default opening, closing, and conversion animations, or enable skipIntermediateHides for faster, more direct state transitions between expanded and compact states :)

     let notch = DynamicNotch(style: .auto) {
         Text("Hello")
     }
     notch.transitionConfiguration = .init(
         openingAnimation: .spring(duration: 0.3),
         skipIntermediateHides: true
     )

Bug Fixes

  • Fixed stutter when expanding and hiding custom notch (#45)
  • Fixed floating-style panels always hiding when hovered (#41)