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

[Bug]: Sonner - can't update gap value #694

Closed
2 tasks
kikky7 opened this issue Jul 31, 2024 · 2 comments
Closed
2 tasks

[Bug]: Sonner - can't update gap value #694

kikky7 opened this issue Jul 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@kikky7
Copy link
Contributor

kikky7 commented Jul 31, 2024

Reproduction

In code below

Describe the bug

Overriding offset and duration works, gap doesn't. It stays 14px, which is the default.

Also, is there a way to change the gap between expanded toasts?

<Toaster position="top-right" offset="1rem" :gap="8" :duration="10000" />

System Info

System:
    OS: macOS 14.5
    CPU: (12) arm64 Apple M2 Max
    Memory: 66.86 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.7.3 - ~/.nvm/versions/node/v21.7.3/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v21.7.3/bin/npm
    pnpm: 8.9.0 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 127.0.6533.88
    Safari: 17.5
  npmPackages:
    @vueuse/core: ^10.11.0 => 10.11.0 
    radix-vue: ^1.9.1 => 1.9.1 
    vue: ^3.4.0 => 3.4.31

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@kikky7 kikky7 added the bug Something isn't working label Jul 31, 2024
@sadeghbarati
Copy link
Collaborator

I submitted a PR to vue-sonner which will resolve this issue

xiaoluoboding/vue-sonner#78

It has some strange error which I couldn't find the problem

@sadeghbarati
Copy link
Collaborator

VueSonner version 1.2.1 will resolve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants