mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 06:22:19 +00:00
FIX: treats ipad as mobileView for popper positioning (#15091)
* FIX: treats ipad as mobileView for popper positioning * ensures it doesn’t break wizard
This commit is contained in:
parent
530eb0c9bd
commit
6e603799eb
@ -861,7 +861,10 @@ export default Component.extend(
|
|||||||
`#${this.selectKit.uniqueID}-body`
|
`#${this.selectKit.uniqueID}-body`
|
||||||
);
|
);
|
||||||
|
|
||||||
const placementStrategy = this?.site?.mobileView ? "absolute" : "fixed";
|
const placementStrategy =
|
||||||
|
this.capabilities?.isIpadOS || this.site?.mobileView
|
||||||
|
? "absolute"
|
||||||
|
: "fixed";
|
||||||
const verticalOffset = 3;
|
const verticalOffset = 3;
|
||||||
|
|
||||||
this.popper = createPopper(anchor, popper, {
|
this.popper = createPopper(anchor, popper, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user