fleetcor-lwc 3.17.0 → 3.18.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.
package/README.md CHANGED
@@ -952,16 +952,30 @@ You can override them as you wish by global css variables as priority.
952
952
  <details>
953
953
  <summary>Click to expand/collapse</summary>
954
954
 
955
+ v.3.18.0
956
+
957
+ - Bug fix `flt-picklist` component
958
+
959
+ ---
960
+
961
+ v.3.17.0
962
+
963
+ - Bug fix `flt-picklist` component
964
+
965
+ ---
966
+
955
967
  v.3.16.0
956
968
 
957
969
  - Update `flt-input-text` - it's become more powerfull with type number
958
970
 
959
971
  ---
972
+
960
973
  v.3.15.0
961
974
 
962
975
  - Added to `flt-input-with-picklist` api attribute `inputmode` and `input-type`
963
976
 
964
977
  ---
978
+
965
979
  v.3.14.0
966
980
 
967
981
  - Added to `flt-input-text`, `flt-input-email`, `flt-input-phone` api attribute `inputmode`
@@ -76,7 +76,13 @@ export default class Picklist extends SelectElement {
76
76
  }
77
77
 
78
78
  handleMousedownView(event) {
79
- if (event.currentTarget === document.activeElement) {
79
+ let classList = event.target.parentElement.classList;
80
+
81
+ if (
82
+ event.currentTarget === document.activeElement &&
83
+ !classList.contains('flt-picklist__dropdown') &&
84
+ !classList.contains('flt-picklist__dropdown-container')
85
+ ) {
80
86
  event.currentTarget.blur();
81
87
  event.preventDefault();
82
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetcor-lwc",
3
- "version": "3.17.0",
3
+ "version": "3.18.0",
4
4
  "description": "LWC framework by Fleetcor",
5
5
  "repository": {
6
6
  "type": "git",