mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(modal): backdrop animation when backdropBreakpoint is 1 (#25430)
Resolves #25402
This commit is contained in:
11
core/src/components/modal/utils.spec.ts
Normal file
11
core/src/components/modal/utils.spec.ts
Normal file
@ -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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user