A
A
Alex Polyakh2017-07-04 17:00:20
JavaScript
Alex Polyakh, 2017-07-04 17:00:20

Convenient styling of tooltips, diegoddox/react-redux-toastr, how to make it (tooltip) not hide?

To call a hint, you need to click on the button that calls the dialog, but after the call it disappears after 4 seconds (changed the dialog output field, nothing helped) Please tell me, kind people, how convenient it is to style such tips (modals)!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Gushchin, 2017-07-04
@PolyakhAleksandr

From the documentation ( https://github.com/diegoddox/react-redux-toastr#to... ):

const toastrOptions = {
  timeOut: 3000, // by setting to 0 it will prevent the auto close
  // ...
}

Set the timeout to 0 and it will not disappear

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question