Skip to content

Haptics don't trigger on useEffect or try/catch block #22

@pulgueta

Description

@pulgueta

I'm using the react bindings for my application. When I complete an action and show a success toast which triggers inside a useEffect, I wanted to trigger the success haptic preset but it doesn't, same as when trying to trigger inside a try/catch block.

The haptics as of now have been triggered only with regular onClick handlers. Would be nice to have them trigger this way too.

Will try to make a contribution myself but I leave it here in case is already being developed!

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