A bug in DrawerComponent.ts v8.0.36
DrawerComponent.ts contains static method handleDismiss().
It is used for external drawer toggle handler.
There is compiler ignored line there:
/* @ts-ignore */
const element = this.closest('[data-kt-drawer="true"]')
this refers to class, and not to an instance of it, so closest does not exist there.
This breaks the app behavior in aurelia.
I've added a ticket to our backlog, we will fix and release it in the next releases.