Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toast with type action don't work on mobile #37

Open
SiiLuu opened this issue Dec 7, 2023 · 1 comment
Open

Toast with type action don't work on mobile #37

SiiLuu opened this issue Dec 7, 2023 · 1 comment

Comments

@SiiLuu
Copy link

SiiLuu commented Dec 7, 2023

Hello,

I'm currently working with vue-sonner for handling my toast notifications. I've encountered an issue when using a toast in the following manner:

toast.success('Card added!', {
  action: {
    label: 'Close',
    onClick: () => { console.log("yes") },
  },
})

The onClick event is not getting triggered on mobile devices. This issue persists both in a simulator with touchscreen capabilities and on an actual iPhone.

@SiiLuu SiiLuu changed the title Toast with type action donct work on mobile Toast with type action don't work on mobile Dec 8, 2023
@sadeghbarati
Copy link
Contributor

@SiiLuu it should be fixed in the new release

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

No branches or pull requests

2 participants