fds-vue-core 9.2.3 → 9.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fds-vue-core",
3
- "version": "9.2.3",
3
+ "version": "9.2.4",
4
4
  "description": "FDS Vue Core Component Library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -549,12 +549,13 @@ defineExpose<{
549
549
  <div>{{ singleItemName }}</div>
550
550
  </div>
551
551
 
552
- <!-- Dropdown List -->
552
+ <!-- Dropdown List: mousedown.prevent keeps focus in the input, else focus jumps to a tabindex ancestor and onFocusOut closes the list before mouseup -->
553
553
  <div
554
554
  ref="dropdownRef"
555
555
  v-if="dropdownVisible && !singleItemName.length && !disabled"
556
556
  :class="listWrapperClasses"
557
557
  :style="listWrapperStyle"
558
+ @mousedown.prevent
558
559
  >
559
560
  <!-- Loading -->
560
561
  <div v-if="loading" class="flex justify-center p-4">
@@ -871,12 +871,13 @@ defineExpose<{
871
871
  </div>
872
872
  </div>
873
873
 
874
- <!-- Dropdown List -->
874
+ <!-- Dropdown List: mousedown.prevent keeps focus in the input, else focus jumps to a tabindex ancestor and onFocusOut closes the list before mouseup -->
875
875
  <div
876
876
  ref="dropdownRef"
877
877
  v-if="dropdownVisible && !disabled"
878
878
  :class="listWrapperClasses"
879
879
  :style="listWrapperStyle"
880
+ @mousedown.prevent
880
881
  @scroll.passive="handleDropdownScroll"
881
882
  >
882
883
  <!-- Results -->