@apia/components 4.0.78 → 4.0.79
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.
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -5585,6 +5585,7 @@ const ListboxItem = memo(
|
|
|
5585
5585
|
),
|
|
5586
5586
|
onMouseDown: useCallback(
|
|
5587
5587
|
(ev) => {
|
|
5588
|
+
console.log("onMouseDown");
|
|
5588
5589
|
onClickNode?.({
|
|
5589
5590
|
...ev,
|
|
5590
5591
|
target: ev.target.closest(
|
|
@@ -6311,6 +6312,7 @@ function useIndexedChildren(children, listboxActions) {
|
|
|
6311
6312
|
function useListboxAutofocus(storeId, getState) {
|
|
6312
6313
|
return {
|
|
6313
6314
|
onClick: useCallback(() => {
|
|
6315
|
+
console.log("onMouseDown useListboxAutofocus");
|
|
6314
6316
|
if (document.activeElement !== document.querySelector(`#${storeId} .listbox__list`)) {
|
|
6315
6317
|
const el = document.querySelector(
|
|
6316
6318
|
`#${storeId} .listbox__list`
|