We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59fbbf5 commit 7a52f0aCopy full SHA for 7a52f0a
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/extra/SuperDropdown.kt
@@ -387,7 +387,7 @@ fun calculateOffsetYPx(
387
dropdownOffsetPx + componentHeightPx - insideHeightPx / 2
388
} else if (dropdownOffsetPx - statusBarPx > dropdownHeightPx) {
389
// Show above
390
- dropdownOffsetPx - dropdownHeightPx + insideHeightPx / 2
+ dropdownOffsetPx - dropdownHeightPx + insideHeightPx / 2
391
} else if (windowHeightPx - statusBarPx - captionBarPx - navigationBarPx <= dropdownHeightPx) {
392
// Special handling when the height of the popup is maxsize (== windowHeightPx)
393
statusBarPx
0 commit comments