@fattureincloud/fic-design-system 0.3.23 → 0.3.24
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.esm.js +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1169,6 +1169,7 @@ var DropdownImpl = function (props) {
|
|
|
1169
1169
|
var toggleDropdown = useCallback(function (e) {
|
|
1170
1170
|
setIsOpen(function (isOpen) { return !isOpen; });
|
|
1171
1171
|
e.stopPropagation();
|
|
1172
|
+
e.preventDefault();
|
|
1172
1173
|
}, []);
|
|
1173
1174
|
var closeDropdown = useCallback(function () { return setIsOpen(false); }, []);
|
|
1174
1175
|
useEffect(function () {
|
package/dist/index.js
CHANGED
|
@@ -1178,6 +1178,7 @@ var DropdownImpl = function (props) {
|
|
|
1178
1178
|
var toggleDropdown = React.useCallback(function (e) {
|
|
1179
1179
|
setIsOpen(function (isOpen) { return !isOpen; });
|
|
1180
1180
|
e.stopPropagation();
|
|
1181
|
+
e.preventDefault();
|
|
1181
1182
|
}, []);
|
|
1182
1183
|
var closeDropdown = React.useCallback(function () { return setIsOpen(false); }, []);
|
|
1183
1184
|
React.useEffect(function () {
|
package/package.json
CHANGED