mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: correctly checks if component is in modal (#9157)
This commit is contained in:
parent
78a6b76310
commit
020c1b9cf3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue