When it was drag to close, the close event is not fired. It only happens when tap to close, or when it's called.
In the docs it says "close: Fired when close is called directly or if tapToClose is set to true", but this happened.