Spent a few hours now trying to figure this out, MatSnackBar is working perfectly fine in Chrome but trhows a weird error in IE11.
My setup:
app.shared.module.ts:
import { MatSnackBarModule} from '@angular/material';
my-test.component.ts:
import { MatSnackBar } from '@angular/material';
...
constructor(
private snackbar: MatSnackBar,
...
this.snackbar.open('Submitted','Close',
{
duration: 3000,
});