You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Fixed** issue where picker menus inside overlays could not scroll to the bottom after selecting an item and reopening. The problem was caused by the overlay's placement calculation happening before the menu fully rendered, resulting in incorrect height measurements.
7
+
8
+
This fix ensures picker menus maintain proper scrollable height when reopened, regardless of the selected item's position.
Copy file name to clipboardExpand all lines: 1st-gen/packages/overlay/src/slottable-request-directive.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ export class SlottableRequestDirective extends AsyncDirective {
74
74
{ signal }
75
75
);
76
76
77
-
if(window.__swc.DEBUG){
77
+
if(window.__swc?.DEBUG){
78
78
window.__swc.warn(
79
79
undefined,
80
80
`⚠️ WARNING ⚠️ : The Overlay Trigger Directive is experimental and there is no guarantees behind its usage in an application!! Its API and presence within the library could be changed at anytime. See "sp-overlay" or "Overlay.open()" for a stable API for overlaying content on your application.`,
`⚠️ WARNING ⚠️ : \`slottable-request\` events are experimental and there is no guarantees behind usage of them in an application!! Their shape and presence within the library could be changed at anytime.
0 commit comments