File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
tools/server/webui/src/stories Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 119119 const audioButton = document .querySelector (' .audio-button' );
120120 await expect (audioButton ).toHaveAttribute (' data-disabled' );
121121
122+ // Fix for dropdown menu side effect
123+ const body = document .querySelector (' body' );
124+ if (body ) body .style .pointerEvents = ' all' ;
125+
122126 console .log (' ✅ Vision modality: Images enabled, Audio/Recording disabled' );
123127 }}
124128/>
125129
126-
127- <!-- <Story
130+ <Story
128131 name =" AudioModality"
129132 args ={{ class : ' max-w-[56rem] w-[calc(100vw-2rem)]' }}
130133 play ={async ({ canvas , userEvent }) => {
150153 const audioButton = document .querySelector (' .audio-button' );
151154 await expect (audioButton ).not .toHaveAttribute (' data-disabled' );
152155
156+ // Fix for dropdown menu side effect
157+ const body = document .querySelector (' body' );
158+ if (body ) body .style .pointerEvents = ' all' ;
159+
153160 console .log (' ✅ Audio modality: Audio/Recording enabled, Images disabled' );
154161 }}
155- /> -->
162+ />
156163
157164<Story
158165 name =" FileAttachments"
You can’t perform that action at this time.
0 commit comments