Comments (7)
+1
This is especially needed for popups with textboxes and/or action buttons.
from toastr.
We'll examine and consider this behavior. I like the idea but need to make sure we agree on it being a core feature. In the meantime, you can make any toast sticky by setting the timeOut to 0. I recommend this for any toast containing buttons/input.
from toastr.
+1
Would love to see this functionality as a core feature. The toast I use now (written in house) does this and it works very well. No extra click needed to dismiss the alert, and you can just ignore the alert if you need to and it will go away. But, if you need it to stick around, you can make it.
from toastr.
How should the behavior be on mouseout?
- stick around
- restart the fadeOut
Outlook restarts the fadeOut.
from toastr.
My view is that Outlook's behavior is "standard", so this is kind of what I would expect out of the box.
from toastr.
mrlucmorin - that's what i chose. though its worth noting i also upped the default fadeout to 1000 ms. i felt the fadeout should give the person time to hover if they wanted to make it sticky. tho i expect folks will override the settings as they see fit.
from toastr.
Cool John !!
from toastr.
Related Issues (20)
- ngx toastr clear on outside click of toastr area
- Add import without links necessity HOT 3
- Travis-CI did not trigger tests
- Correlate a Toast with the one which has Just Hidden HOT 1
- jQuery.easing[jQuery.easing.def] is not a function
- Cannot read property 'extend' of undefined HOT 1
- Can't put two toastrs at two different positions HOT 1
- timeOut not working
- timeout=0 onclick=function(){} how do I hide the toastr? HOT 1
- Accessibility issues HOT 1
- setAria
- #558 require js loading issue
- XSS Vulnerability "HIGH" due to default escapeHtml=false setting HOT 5
- TypeError: Cannot read properties of undefined (reading 'extend') HOT 2
- Toastr background white HOT 1
- toastr does not work with bootstrap 5 ? HOT 2
- This project is not maintained (2023)
- Target class [toastr] does not exist. HOT 1
- Update a toast message if a toast is already visible
- Icon animation HOT 3
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 toastr.