mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 09:15:05 +03:00
fix(web): clear combobox value when selectedOption is undefined (#14334)
This commit is contained in:
9
web/src/lib/__mocks__/visual-viewport.mock.ts
Normal file
9
web/src/lib/__mocks__/visual-viewport.mock.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export const getVisualViewportMock = () => ({
|
||||
height: window.innerHeight,
|
||||
width: window.innerWidth,
|
||||
scale: 1,
|
||||
offsetLeft: 0,
|
||||
offsetTop: 0,
|
||||
addEventListener: vi.fn(),
|
||||
removeEventListener: vi.fn(),
|
||||
});
|
||||
Reference in New Issue
Block a user