mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06: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`
|
||||
);
|
||||
|
||||
const placementStrategy = this?.site?.mobileView ? "absolute" : "fixed";
|
||||
const placementStrategy =
|
||||
this.capabilities?.isIpadOS || this.site?.mobileView
|
||||
? "absolute"
|
||||
: "fixed";
|
||||
const verticalOffset = 3;
|
||||
|
||||
this.popper = createPopper(anchor, popper, {
|
||||
|
Loading…
Reference in New Issue
Block a user