appronto / Appronto-Notification-Module

Shows inline notifications as a perfect replacement for pop-up messages
Apache License 2.0
2 stars 2 forks source link

Notification module with Mendix 7 and different layouts keeps pushing messages #2

Closed Mcpoowl closed 6 years ago

Mcpoowl commented 6 years ago

When the Appronto Notification module is in each layout, and in your app you switch to a page with a different layout, the notification module keeps pushing it's last message, even though it has nothing to do with the context.

@pimvdnoll remember our talk about this? :-)

//edit: If you use the same layout on every page, the problem does not occur, but that's not a valid solution for our app unfortunately

pimvdnoll commented 6 years ago

yes I remember ;) maybe nanoflows can be used, let's see

Mcpoowl commented 6 years ago

I managed to resolve the issue by using the widget's On Click and On Timeout properties to call a microflow and delete the notification object.

pimvdnoll commented 6 years ago

Awesome @Mcpoowl good find!! will update the module asap.