Log Row Context: disable false a11y postive (#61312)

Chore: disable false a11y postive
This commit is contained in:
Matias Chomicki
2023-01-12 11:06:54 +01:00
committed by GitHub
parent 9fa98dbbca
commit c506df3809

View File

@@ -306,7 +306,9 @@ export const LogRowContext: React.FunctionComponent<LogRowContextProps> = ({
return ( return (
<ClickOutsideWrapper onClick={() => onOutsideClick('close_outside_click')}> <ClickOutsideWrapper onClick={() => onOutsideClick('close_outside_click')}>
{/* e.stopPropagation is necessary so the log details doesn't open when clicked on log line in context {/* e.stopPropagation is necessary so the log details doesn't open when clicked on log line in context
* and/or when context log line is being highlighted */} * and/or when context log line is being highlighted
*/}
{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}
<div onClick={(e) => e.stopPropagation()}> <div onClick={(e) => e.stopPropagation()}>
{context.after && ( {context.after && (
<LogRowContextGroup <LogRowContextGroup