File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -244,18 +244,12 @@ export function IncomingCallToast({ notificationEvent }: Props): JSX.Element {
244
244
return (
245
245
< TooltipProvider >
246
246
< >
247
- < div
247
+ < input
248
248
className = "mx_IncomingCallToast_content"
249
249
onClick = { ( e ) => {
250
250
onJoinClick ( e ) ;
251
251
} }
252
- onKeyDown = { ( e ) => {
253
- if ( e . key === "Enter" ) {
254
- onJoinClick ( e ) ;
255
- }
256
- } }
257
- tabIndex = { 0 }
258
- role = "button"
252
+ type = "button"
259
253
>
260
254
< div className = "mx_IncomingCallToast_message" >
261
255
< VideoCallIcon width = "20px" height = "20px" style = { { position : "relative" , top : "4px" } } /> { " " }
@@ -291,7 +285,7 @@ export function IncomingCallToast({ notificationEvent }: Props): JSX.Element {
291
285
disabledTooltip = { otherCallIsOngoing ? "Ongoing call" : undefined }
292
286
/>
293
287
</ div >
294
- </ div >
288
+ </ input >
295
289
< AccessibleButton
296
290
className = "mx_IncomingCallToast_closeButton"
297
291
onClick = { onCloseClick }
You can’t perform that action at this time.
0 commit comments