This is a migrated thread and some comments may be shown as answers.

Hide Kendo UI React notifications after timeout?

2 Answers 197 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 29 Jul 2019, 05:47 PM

With the jQuery version, it was possible to automatically hide notifications after a timeout with the config property autoHideAfter.  There was also autoHideAfter, which I need too.

How can I do this in Kendo UI React?

2 Answers, 1 is accepted

Sort by
0
Jonathan
Top achievements
Rank 1
answered on 29 Jul 2019, 05:51 PM
I meant allowHideAfter for the second option.
0
Accepted
Stefan
Telerik team
answered on 30 Jul 2019, 06:39 AM
Hello, Jonathan,

Currently, this can be done using the setTimeout function:

https://stackblitz.com/edit/react-nzqzdq?file=app/main.jsx

Also, there is a feature request for this in our portal and I can suggest voting for it as it will increase its chances to be implemented as a built-in feature:

https://feedback.telerik.com/kendo-react-ui/1413293-add-hideafter-prop-to-the-notification-component

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Jonathan
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or