mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: correctly checks if component is in modal (#9157)
This commit is contained in:
parent
78a6b76310
commit
020c1b9cf3
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user