@entur/dropdown 5.1.0 → 5.1.1-beta.0

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.
@@ -891,7 +891,7 @@ debounceTimeout) {
891
891
  if (itemsIsAFunction) {
892
892
  debouncedFetchItems('');
893
893
  }
894
- }, [itemsIsAFunction]);
894
+ }, [itemsIsAFunction, itemsResolver]);
895
895
  return {
896
896
  items: normalizedItems,
897
897
  loading: itemsIsAFunction ? loading : false,
@@ -1630,7 +1630,6 @@ var isVoiceOverClick = function isVoiceOverClick(clickEvent) {
1630
1630
  var targetElementMiddleY = Math.floor(targetElementRect.y + targetElementRect.height / 2);
1631
1631
  var clickPositionX = clickEvent.clientX;
1632
1632
  var clickPositionY = clickEvent.clientY;
1633
- console.log('targetX:', targetElementMiddleX, 'targetY:', targetElementMiddleY, 'clickX:', clickPositionX, 'clickY:', clickPositionY);
1634
1633
  return Math.abs(targetElementMiddleX - clickPositionX) <= 1 && Math.abs(targetElementMiddleY - clickPositionY) <= 1;
1635
1634
  };
1636
1635
  /* end a11y utils */