Skip to content

feat: swipe-to-close should support e.detail.snapBreakpoint #31001

Description

@aeharding

Prerequisites

Describe the Feature Request

Sheet modals support the new snapBreakpoint parameter. It would be great if swipe-to-close dialogs also supported this parameter, so we could know if the dialog intends to continue animating to dismiss or not.

Describe the Use Case

Dismiss the keyboard when the user lifts their finger during a gesture, if the dialog will animate to dismissal.

Describe Preferred Solution

e.detail.snapBreakpoint (would just be 1 or 0) or something like that on ionDragEnd

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature requesta new feature, enhancement, or improvement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions