Skip to content

Commit

Permalink
Merge branch 'main' into make-color-picker-a-radio-group
Browse files Browse the repository at this point in the history
  • Loading branch information
staxly[bot] authored Oct 10, 2024
2 parents d8da6f1 + f8d7360 commit c3f8784
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/app/content/highlights/components/CardWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const Wrapper = ({highlights, className, container, highlighter}: WrapperProps)
if (element.current.contains(activeElement)) {
focusedHighlight.focus();
} else {
setShouldFocusCard(true);
setShouldFocusCard(focusedId !== undefined);
}
}, [element, focusedHighlight]);
}, [focusedHighlight, focusedId]);

useKeyCombination(highlightKeyCombination, moveFocus, noopKeyCombinationHandler([container, element]));

Expand Down
15 changes: 1 addition & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10244,20 +10244,7 @@ electron-to-chromium@^1.4.431, electron-to-chromium@^1.5.4:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz#1abf0410c5344b2b829b7247e031f02810d442e6"
integrity sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==

elliptic@^6.0.0:
version "6.5.7"
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.7.tgz#8ec4da2cb2939926a1b9a73619d768207e647c8b"
integrity sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==
dependencies:
bn.js "^4.11.9"
brorand "^1.1.0"
hash.js "^1.0.0"
hmac-drbg "^1.0.1"
inherits "^2.0.4"
minimalistic-assert "^1.0.1"
minimalistic-crypto-utils "^1.0.1"

elliptic@^6.5.5:
elliptic@^6.0.0, elliptic@^6.5.5:
version "6.5.7"
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.7.tgz#8ec4da2cb2939926a1b9a73619d768207e647c8b"
integrity sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==
Expand Down

0 comments on commit c3f8784

Please sign in to comment.