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:
Joffrey JAFFEUX 2021-11-29 07:40:01 +01:00 committed by GitHub
parent 530eb0c9bd
commit 6e603799eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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, {