Skip to content

[Feature Request]: Add onWillPresent Callback #129

@szheleshchenko

Description

@szheleshchenko

What’s missing?

Right now, there’s only an onPresent callback, which fires after the sheet is fully presented. It’d be super useful to have an onWillPresent callback that triggers when the animation starts.

Why is this useful?

  • Helps sync UI updates or animations with the sheet appearing.
  • Lets us prepare content before the sheet is fully visible.

How could it work?

Something like this:

<TrueSheet onWillPresent={() => console.log('Sheet is about to show!')} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions