Code Monkey home page Code Monkey logo

Comments (7)

seanodotcom avatar seanodotcom commented on August 11, 2024

+1
This is especially needed for popups with textboxes and/or action buttons.

from toastr.

johnpapa avatar johnpapa commented on August 11, 2024

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.

bmccord avatar bmccord commented on August 11, 2024

+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.

johnpapa avatar johnpapa commented on August 11, 2024

How should the behavior be on mouseout?

  1. stick around
  2. restart the fadeOut

Outlook restarts the fadeOut.

from toastr.

mrlucmorin avatar mrlucmorin commented on August 11, 2024

My view is that Outlook's behavior is "standard", so this is kind of what I would expect out of the box.

from toastr.

johnpapa avatar johnpapa commented on August 11, 2024

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.

mrlucmorin avatar mrlucmorin commented on August 11, 2024

Cool John !!

from toastr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.