Comments (3)
Done https://github.com/xiaoluoboding/vue-sonner/releases/tag/v1.0.1
from vue-sonner.
Hello @xiaoluoboding , Thank you for jumping on this so fast, I appreciate it.
I update the package but i am still having the same issue where calling toast.promise
is still not "awaitable"
In addition, the promise toast is now behaving weird. When I call toast.promise
, it shows 3 layers of toast like in the image below:
![image](https://private-user-images.githubusercontent.com/53905713/280224817-b92c2621-5303-4fa0-9443-7930ffee61b9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ1MjQ4NzcsIm5iZiI6MTcxNDUyNDU3NywicGF0aCI6Ii81MzkwNTcxMy8yODAyMjQ4MTctYjkyYzI2MjEtNTMwMy00ZmEwLTk0NDMtNzkzMGZmZWU2MWI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTAxVDAwNDkzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc5YmYzYzQ5OTgxZmQzMzM5ZGE4MjVjOGFhY2NlMjExNWY1M2NkZTg0YTMxMWIyZmM3NDhmMzM4MjFmNzI2Y2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ltT6n6TlU4otoNkCT1CIHMXtyO20m9U453hqgC8qUqU)
This image shows the console statement being logged before the promise is resolved:
![image](https://private-user-images.githubusercontent.com/53905713/280224610-4d7700c2-e9ac-4489-9ec3-3410a9206bcf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ1MjQ4NzcsIm5iZiI6MTcxNDUyNDU3NywicGF0aCI6Ii81MzkwNTcxMy8yODAyMjQ2MTAtNGQ3NzAwYzItZTlhYy00NDg5LTllYzMtMzQxMGE5MjA2YmNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTAxVDAwNDkzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiYTU5ZGFkNTJmZjUxNWNlYTk4NzRiM2Q4NzRlMDI3YmVjMDAxNDAwYjQ5MDc2YTU4NThjODY1NGUyMjE2YzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.AAYDBNbG3ZDrd0qZg0U8fjmLaUZgqyi7c2DJnjB-s4c)
from vue-sonner.
Any update?
In latest version: (property) promise: <unknown>(promise: PromiseT<unknown>, data?: PromiseData<unknown> | undefined) => string | number | undefined
from vue-sonner.
Related Issues (20)
- Toast with type action don't work on mobile HOT 1
- Can we pass the prop on headless toast for title and description? HOT 1
- Toasts with action `freeze` when you hit fast on the action buttons HOT 2
- Extending Not working correctly HOT 1
- Add "classNames" props HOT 1
- Swipeable sonner HOT 1
- custom component - option to keep style HOT 1
- Possible bugs when using fixed
- can we dismiss the toast programmatically? `toast.dismiss()` does not work HOT 10
- Why so many issues for such as simple plugin? HOT 5
- Global config HOT 1
- Persitent accross layouts in Nuxt 3 HOT 3
- [Bug]: error on hitting `Esc` button
- Error: when pressing ESC key HOT 2
- Bug: Can't create new toasts after dismiss HOT 3
- Everything is deleted after <Toaster />, and sometimes the toast() function works, sometimes not HOT 4
- remove inline-styles to pass CSP
- ERROR - Dismiss not working HOT 3
- Dynamic Positioning not working HOT 3
- Allow specifying attributes on wrapper `<section>`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-sonner.