When using the tab strip, it'd be nice if there were an event that fired before the tab changed so that we could abort a tab chat. For example, if a tab has some input fields that allow a user to change some setting but they change the tab without hitting save or something. It'd be nice if I could pop up a modal and ask them to save before changing tab.
The function could just return true or false to allow the tab change, etc.
Hello, Ryan,
The TabStrip component does not change the tabs automatically.
This is done by the developer on the onSelect event.
On that event the developer can do the desired check and only if it passes to actually change the selected tap:
https://www.telerik.com/kendo-react-ui/components/layout/api/TabStripProps/#toc-selected
https://www.telerik.com/kendo-react-ui/components/layout/api/TabStripProps/#toc-onselect
The described functionality can be achieved with the current state of the component.
Let me know if I missed some details.
Regards,
Stefan
Progress Telerik