classcard-ui 0.2.901 → 0.2.902

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": "classcard-ui",
3
- "version": "0.2.901",
3
+ "version": "0.2.902",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -96,7 +96,7 @@
96
96
  tabindex="-1"
97
97
  role="listbox"
98
98
  aria-labelledby="listbox-label"
99
- class="max-h-60 overflow-auto rounded-md py-1 text-base ring-1 ring-gray-900 ring-opacity-5 focus:outline-none sm:text-sm"
99
+ class="focus:outline-none max-h-60 overflow-auto rounded-md py-1 text-base ring-1 ring-gray-900 ring-opacity-5 sm:text-sm"
100
100
  :class="dropDownToTop2"
101
101
  >
102
102
  <li
@@ -302,10 +302,13 @@ export default {
302
302
  actionEvent(event) {
303
303
  this.$emit("listAction", event);
304
304
  },
305
- handleElementBlur() {
306
- this.toggleDropdown = false;
307
- this.selectSearch = null;
308
- this.renderOptions = this.options;
305
+ handleElementBlur(e) {
306
+ console.log("event blur called", e);
307
+ if (e.relatedTarget == null) {
308
+ this.toggleDropdown = false;
309
+ this.selectSearch = null;
310
+ this.renderOptions = this.options;
311
+ }
309
312
  },
310
313
  // close() {
311
314
  // console.log("Close");