mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
remove flipFallback(Placement|Strategy) as we get a better/working placement without
now clicks close to right end of the window open to the left (and not outside as before)
This commit is contained in:
parent
f465d201ae
commit
5ea8f27d9d
@ -120,8 +120,6 @@ export class EgwMenuShoelace extends LitElement
|
|||||||
placement: "right-start",
|
placement: "right-start",
|
||||||
autoSize: "vertical",
|
autoSize: "vertical",
|
||||||
flip: true,
|
flip: true,
|
||||||
flipFallbackPlacements: "right-end",
|
|
||||||
flipFallbackStrategy: "initial",
|
|
||||||
shift: true
|
shift: true
|
||||||
});
|
});
|
||||||
this.popup.append(this);
|
this.popup.append(this);
|
||||||
@ -134,7 +132,7 @@ export class EgwMenuShoelace extends LitElement
|
|||||||
return {
|
return {
|
||||||
x: _x,
|
x: _x,
|
||||||
y: _y,
|
y: _y,
|
||||||
width: 0, //menu.clientWidth,
|
width: 0, // placement="right-start" only works well with 0, not menu.clientWidth,
|
||||||
height: menu.clientHeight,
|
height: menu.clientHeight,
|
||||||
top: _y,
|
top: _y,
|
||||||
left: _x,
|
left: _x,
|
||||||
|
Loading…
Reference in New Issue
Block a user