]> Untitled Git - lemmy-ui.git/commitdiff
fix: Ignore rule for clickaway div; 'Esc' works for this
authorJay Sitter <jay@jaysitter.com>
Sat, 24 Jun 2023 23:24:09 +0000 (19:24 -0400)
committerJay Sitter <jay@jaysitter.com>
Sat, 24 Jun 2023 23:24:09 +0000 (19:24 -0400)
src/shared/components/common/emoji-picker.tsx

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