diff --git a/packages/bbui/src/Tabs/Tab.svelte b/packages/bbui/src/Tabs/Tab.svelte
index f51ad96e05..627d7e525a 100644
--- a/packages/bbui/src/Tabs/Tab.svelte
+++ b/packages/bbui/src/Tabs/Tab.svelte
@@ -1,40 +1,28 @@
@@ -53,11 +56,12 @@
{#if icon}
@@ -72,7 +76,8 @@
{/if}
{title}
-{#if $selected.title === title}
+
+{#if isSelected}
diff --git a/packages/builder/src/components/design/settings/controls/ButtonConfiguration/ButtonSetting.svelte b/packages/builder/src/components/design/settings/controls/ButtonConfiguration/ButtonSetting.svelte
index 9a88875140..2387fda683 100644
--- a/packages/builder/src/components/design/settings/controls/ButtonConfiguration/ButtonSetting.svelte
+++ b/packages/builder/src/components/design/settings/controls/ButtonConfiguration/ButtonSetting.svelte
@@ -1,5 +1,5 @@
- {
- if (!open) {
- popover.show()
- open = true
- }
- }}
-/>
+
{
- drawers = []
- $draggable.actions.select(componentInstance._id)
- }}
- on:close={() => {
- open = false
- if ($draggable.selected === componentInstance._id) {
- $draggable.actions.select()
- }
- }}
+ open={isOpen}
+ on:close={close}
{anchor}
align="left-outside"
showPopover={drawers.length === 0}
clickOutsideOverride={drawers.length > 0}
maxHeight={600}
offset={18}
- handlePostionUpdate={customPositionHandler}
>
diff --git a/packages/builder/src/components/design/settings/controls/EditComponentPopover/index.js b/packages/builder/src/components/design/settings/controls/EditComponentPopover/index.js
deleted file mode 100644
index 2dc3f60185..0000000000
--- a/packages/builder/src/components/design/settings/controls/EditComponentPopover/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-export const customPositionHandler = (anchorBounds, eleBounds, cfg) => {
- let { left, top, offset } = cfg
- let percentageOffset = 30
- // left-outside
- left = anchorBounds.left - eleBounds.width - (offset || 5)
-
- // shift up from the anchor, if space allows
- let offsetPos = Math.floor(eleBounds.height / 100) * percentageOffset
- let defaultTop = anchorBounds.top - offsetPos
-
- if (window.innerHeight - defaultTop < eleBounds.height) {
- top = window.innerHeight - eleBounds.height - 5
- } else {
- top = anchorBounds.top - offsetPos
- }
-
- return { ...cfg, left, top }
-}
diff --git a/packages/builder/src/components/design/settings/controls/FieldConfiguration/FieldSetting.svelte b/packages/builder/src/components/design/settings/controls/FieldConfiguration/FieldSetting.svelte
index 771bcf20e0..27590a9858 100644
--- a/packages/builder/src/components/design/settings/controls/FieldConfiguration/FieldSetting.svelte
+++ b/packages/builder/src/components/design/settings/controls/FieldConfiguration/FieldSetting.svelte
@@ -1,5 +1,5 @@
-
-
- onRowClick?.({ row: e.detail })}
- />
-
-
+
+ onRowClick?.({ row: e.detail })}
+ />
+