-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(modal): backdrop animation when backdropBreakpoint is 1 (#25430)
Resolves #25402
- Loading branch information
1 parent
7b105a3
commit c10df52
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { getBackdropValueForSheet } from './utils'; | ||
|
||
describe('getBackdropValueForSheet()', () => { | ||
it('should return a valid integer when backdropBreakpoint is 1', () => { | ||
/** | ||
* Issue: https://github.com/ionic-team/ionic-framework/issues/25402 | ||
*/ | ||
const backdropBreakpoint = 1; | ||
expect(getBackdropValueForSheet(1, backdropBreakpoint)).toBe(0); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters