I'm having problems with running this extension under Ext 4.1.0.RC2. Basically, I have a button which shows and hides notification, where notification is instantiated on first show and reused later for consecutive show() calls. On first notification.show(), everything is ok, but on every consecutive show(), I'm getting -10000 from a call me.getXposAlignedToManager() in beforeShow handler.

I was able to getting it work again (at least for my case) with following modification:

@dcohn: If I look at the code, the beforehide listener call the destroy. The destroy animate the notification (make it disappear) and then afteranimate call the parent destroy.
So when notification is hidden, it's destroyed.

@dcohn: If I look at the code, the beforehide listener call the destroy. The destroy animate the notification (make it disappear) and then afteranimate call the parent destroy.
So when notification is hidden, it's destroyed.

I look the code in my app see that I use the version 1.3 of Notification. I haven't seen that a 2.0 version exist.
You're right in the new version the call to destroy is not present.
But they are other changes, and I think the call to destroy must not be in afteranimate but a few lines lower. Like this when animation ended, Ext.Window (parent of Notification) hide() is called, beforehide and hide event are fired and then Notification is destroyed.

I have sorted out the problem with destruction and reuse. The notifications now destroy their dom by default unless closeAction is set to 'hide' in which case the notification never destroys and will allow for repeated update() and show() calls.