Kartik DetailView problem with flash messages while deleting record

Please - have a look on the animated GIF.

Any idea why the alert flash do appear?

The controller action is as simple as that:

public function actionDelete($id)





Check your alertWidgetOptions settings

What should I check specifically?

OK - I’ve got it - Kartik simply did not take into account direct redirect and DetailView widget expects some feedback. Silly!