Comments (8)
Yep - I love it :)
I didn't write the animations, somebody else added them in a PR. They're decent, but I do prefer the toastify ones, so I'll be happy to take a PR.
from svelte-notifications.
@tmadge is probably referring to https://github.com/beyonk-adventures/svelte-notifications/pull/17/files
from svelte-notifications.
Thanks for the repl. It must be something in my site that's causing it to hide.
I added opacity: 1
to the to
section of the animate-in
keyframe, which seems to have fixed it.
to {
opacity: 1;
transform: none;
}
from svelte-notifications.
This broke things for me.... now the notification slides in and immediately disappears. I think its opacity flips back to 0 for some reason.
from svelte-notifications.
What broke things? There hasn't been any work done on this issue as far as I know.
from svelte-notifications.
It seems to work fine for me - https://svelte.dev/repl/dd506c546df84c1994a5ae9928ad23b1?version=3.12.1
Do you have any more detail? browser etc?
from svelte-notifications.
@tmadge If you can make the notifications zip off to the right (like https://fkhadra.github.io/react-toastify/ ) rather than fading away then that'd be great! @timsully and I haven't gotten around to doing that part yet, but I sure think it'd be an improvement.
from svelte-notifications.
I had to make the same opacity patch because out of the box had the same issue.
from svelte-notifications.
Related Issues (20)
- Browser compatibility? HOT 4
- Could not find a declaration file for module '@beyonk/svelte-notifications'.
- Option to close manually. HOT 1
- sveltekit support HOT 2
- Does it support typescript? HOT 3
- Demo is broken
- Toast does not work HOT 3
- Timeout parameter for notifications shouldn't be required HOT 2
- SSR | Unknown file extension ".svelte" HOT 4
- Option to disable persisting on page reload HOT 1
- Allow custom component HOT 1
- Wrong number of arguments (4 for 3) for `rgb' HOT 3
- Toast displays 2 times | SvelteKit HOT 2
- new version tag
- Provide a demo HOT 1
- vite-plug-in warning: resolve config in packaage json can causa problems HOT 1
- Variable width HOT 2
- Notification Positioning HOT 2
- Is there a way to disable time progress bar? HOT 1
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 svelte-notifications.