@jsenv/navi 0.26.8 → 0.26.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29445,33 +29445,6 @@ const InputControllingList = props => {
29445
29445
  const getListEl = () => {
29446
29446
  return document.getElementById(listId);
29447
29447
  };
29448
- useEffect(() => {
29449
- const inputEl = ref.current;
29450
- if (!inputEl) {
29451
- return undefined;
29452
- }
29453
- const listEl = getListEl();
29454
- if (!listEl) {
29455
- return undefined;
29456
- }
29457
- const onListSelect = e => {
29458
- const {
29459
- event
29460
- } = e.detail;
29461
- if (event.type === "mousedown") {
29462
- if (!inputEl.hidden) {
29463
- event.preventDefault();
29464
- inputEl.focus({
29465
- preventScroll: true
29466
- });
29467
- }
29468
- }
29469
- };
29470
- listEl.addEventListener("navi_list_select", onListSelect);
29471
- return () => {
29472
- listEl.removeEventListener("navi_list_select", onListSelect);
29473
- };
29474
- }, []);
29475
29448
  const onKeyDownWithShortcuts = shortcutsViaOnKeyDown({
29476
29449
  arrowdown: e => {
29477
29450
  const listEl = getListEl();