fix: Ignore rule for clickaway div; 'Esc' works for this

This commit is contained in:
Jay Sitter 2023-06-24 19:24:09 -04:00
parent dd43827d67
commit d3b8943341

View file

@ -45,6 +45,7 @@ export class EmojiPicker extends Component<EmojiPickerProps, EmojiPickerState> {
pickerOptions={{}} pickerOptions={{}}
></EmojiMart> ></EmojiMart>
</div> </div>
{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions */}
<div <div
onClick={linkEvent(this, this.togglePicker)} onClick={linkEvent(this, this.togglePicker)}
className="click-away-container" className="click-away-container"