fix(web): clear combobox value when selectedOption is undefined (#14334)

This commit is contained in:
Michel Heusschen
2024-11-25 15:14:21 +01:00
committed by GitHub
parent b9e98d2706
commit 447ff6fcb3
4 changed files with 42 additions and 11 deletions

View 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(),
});