Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wide-symbols-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": patch
---

Fix floating UI loading bug
1 change: 1 addition & 0 deletions packages/ebayui-core/src/common/dropdown/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export class DropdownUtil {
}

update() {
if (!this.loaded) return;
const middleware = [] as Middleware[];
middleware.push(this.offset(this.options.offset ?? 4));
if (this.options.flip) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ class TooltipBase extends Marko.Component<Input, State> {
}

updateTip() {
if (!this.state.loaded) return;
this.computePosition(
this.hostEl as HTMLElement,
this.overlayEl as HTMLElement,
Expand Down
Loading