mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 21:09:11 +08:00
FIX: uses absolute strategy on ipad (#29754)
The absolute strategy was causing issues on modals.
This commit is contained in:
parent
42b1ca8f78
commit
9aae4df273
@ -1171,7 +1171,7 @@ export default class SelectKit extends Component.extend(UtilsMixin) {
|
||||
return placementStrategy;
|
||||
}
|
||||
|
||||
if (this.capabilities.isIpadOS || this.site.mobileView) {
|
||||
if (this.site.mobileView) {
|
||||
placementStrategy =
|
||||
this.selectKit.options.mobilePlacementStrategy || "absolute";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user