Skip to content

Commit ebecf5b

Browse files
committed
fix(CConditionalTeleport, CDropdown, CPopover, CTooltip): HTMLElement is not defined
1 parent ab47d01 commit ebecf5b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/coreui-vue/src/components/conditional-teleport/CConditionalTeleport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const CConditionalTeleport = defineComponent({
1919
* @since v5.0.0-beta.0
2020
*/
2121
container: {
22-
type: [HTMLElement, () => HTMLElement, String] as PropType<
22+
type: [Object, String] as PropType<
2323
HTMLElement | (() => HTMLElement) | string
2424
>,
2525
default: 'body',

packages/coreui-vue/src/components/dropdown/CDropdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const CDropdown = defineComponent({
6565
* @since v5.0.0-beta.0
6666
*/
6767
container: {
68-
type: [HTMLElement, () => HTMLElement, String] as PropType<
68+
type: [Object, String] as PropType<
6969
HTMLElement | (() => HTMLElement) | string
7070
>,
7171
default: 'body',

packages/coreui-vue/src/components/popover/CPopover.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const CPopover = defineComponent({
2525
* @since v5.0.0-beta.0
2626
*/
2727
container: {
28-
type: [HTMLElement, () => HTMLElement, String] as PropType<
28+
type: [Object, String] as PropType<
2929
HTMLElement | (() => HTMLElement) | string
3030
>,
3131
default: 'body',

packages/coreui-vue/src/components/tooltip/CTooltip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const CTooltip = defineComponent({
2525
* @since v5.0.0-beta.0
2626
*/
2727
container: {
28-
type: [HTMLElement, () => HTMLElement, String] as PropType<
28+
type: [Object, String] as PropType<
2929
HTMLElement | (() => HTMLElement) | string
3030
>,
3131
default: 'body',

0 commit comments

Comments
 (0)