Skip to content

Comments

feat: added onSlideAnimationChanged callback#545

Open
Ronak99 wants to merge 2 commits intoletsar:masterfrom
farmako:master
Open

feat: added onSlideAnimationChanged callback#545
Ronak99 wants to merge 2 commits intoletsar:masterfrom
farmako:master

Conversation

@Ronak99
Copy link

@Ronak99 Ronak99 commented Feb 16, 2026

Pull Request Description

Overview

This pull request introduces a callback mechanism that allows multiple slidable list items to be notified when a specific list item is slid from left to right. This feature is particularly useful for implementing an iOS-like behavior, where sliding one item causes any other open items to automatically close.

Key Features

  • Callback Exposure: The new callback allows components to respond to slide events, enabling better control over the user interface.
  • iOS-like Behavior: When a user slides one item open, any previously opened items will close, creating a seamless and intuitive user experience.

Benefits

  • Improved User Experience: This functionality mimics the familiar behavior of iOS applications, enhancing usability and consistency.
  • Enhanced Flexibility: Developers can easily implement custom logic based on the sliding actions of list items.

Use Cases

  • Dynamic Lists: Ideal for applications that require dynamic lists where only one item should be open at a time.
  • User Notifications: Allows for notifications or updates to other list items when one is interacted with, improving interactivity.

Conclusion

By merging this pull request, we will provide developers with a powerful tool to create more engaging and user-friendly interfaces. This change is expected to enhance application functionality and improve user satisfaction.

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.

1 participant