diff --git a/package-lock.json b/package-lock.json index 8b9b1a2..14eb80b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@oncehub/ui-react", - "version": "1.4.16", + "version": "1.4.17-beta.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@oncehub/ui-react", - "version": "1.4.16", + "version": "1.4.17-beta.1.0", "devDependencies": { "@babel/core": "^7.23.2", "@headlessui/react": "^1.7.17", diff --git a/package.json b/package.json index 86cfa92..98f4935 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@oncehub/ui-react", "private": false, - "version": "1.4.16", + "version": "1.4.17-beta.1.0", "repository": { "type": "git", "url": "https://github.com/scheduleonce/once-ui-react" diff --git a/src/lib/components/multi-select/multi-select.module.scss b/src/lib/components/multi-select/multi-select.module.scss index b70d670..ea98ec4 100644 --- a/src/lib/components/multi-select/multi-select.module.scss +++ b/src/lib/components/multi-select/multi-select.module.scss @@ -51,6 +51,9 @@ } .btnContainer { @apply tw-absolute tw-box-border tw-inset-x-0 tw-flex tw-h-[64px] tw-w-full tw-items-center tw-justify-end tw-border-0 tw-border-t tw-border-solid tw-border-t-[#C8C8C8] tw-px-[18px]; + .hiddenButton{ + @apply tw-absolute tw-left-[-9999px] tw-h-0 tw-w-0 tw-opacity-0; + } } } @@ -61,3 +64,7 @@ background-color: darkgrey; border-radius: 6px; } + +.announcement{ + @apply tw-pointer-events-none tw-h-0 tw-overflow-hidden tw-opacity-0; +} \ No newline at end of file diff --git a/src/lib/components/multi-select/multi-select.tsx b/src/lib/components/multi-select/multi-select.tsx index 3ecce0c..1c578bf 100644 --- a/src/lib/components/multi-select/multi-select.tsx +++ b/src/lib/components/multi-select/multi-select.tsx @@ -349,12 +349,7 @@ export const MultiSelect: React.FC = ({ - + {isMounted ? createPortal( <> @@ -427,7 +422,7 @@ export const MultiSelect: React.FC = ({ onKeyDown={(event) => { handleKeyDown(event); }} - className="tw-absolute tw-left-[-9999px] tw-h-0 tw-w-0 tw-opacity-0" + className={styles.hiddenButton} />