FIX: correctly checks if component is in modal (#9157)

This commit is contained in:
Joffrey JAFFEUX 2020-03-10 12:22:56 +01:00 committed by GitHub
parent 78a6b76310
commit 020c1b9cf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -816,7 +816,7 @@ export default Component.extend(
let placementStrategy = this.selectKit.options.placementStrategy;
if (!placementStrategy) {
placementStrategy = this.inModal ? "fixed" : "absolute";
placementStrategy = inModal ? "fixed" : "absolute";
}
/* global Popper:true */