-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
hrueger/AGLight
#112Closed
Copy link
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functions
Description
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
Steps to reproduce:
- Open https://stackblitz.com/angular/jrnynrjaqdo
- Display a snackbar with duration
durationInSeconds = 1e+21;orNumber.MAX_VALUE - Launch the snackbar
Expected Behavior
What behavior were you expecting to see?
The snackbar should be displayed for a (very) long time.
Actual Behavior
What behavior did you actually see?
Snackbar automatically closes itself after ~300ms.
It seems snackbar doesn't handle numbers with e format starting at e+21, eg it supports 1+e10 but not 1+e21 or above.
Environment
- Angular: 8.2.8
- CDK/Material: 8.2.1
- Browser(s): chrome
- Operating System (e.g. Windows, macOS, Ubuntu): ubuntu
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functions