Reset query when changing to non-grid .

This commit is contained in:
Dermot Duffy
2023-08-12 09:46:47 -07:00
parent cc77caa96d
commit 8a0ba11fa9
4 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -427,7 +427,7 @@ describe('View.adoptFromViewIfAppropriate', () => {
});
it('should determine if view supports multiple display modes', () => {
expect(createView({ view: 'live' }).supportsMultipleDisplayModes()).toBeFalsy();
expect(createView({ view: 'live' }).supportsMultipleDisplayModes()).toBeTruthy();
expect(createView({ view: 'media' }).supportsMultipleDisplayModes()).toBeTruthy();
expect(createView({ view: 'clip' }).supportsMultipleDisplayModes()).toBeTruthy();
expect(createView({ view: 'snapshot' }).supportsMultipleDisplayModes()).toBeTruthy();