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 a9b4975 commit 468dafbCopy full SHA for 468dafb
android-design-system/design-system/src/main/java/com/duckduckgo/common/ui/menu/PopupMenu.kt
@@ -142,7 +142,7 @@ open class PopupMenu(
142
val y = if (anchorMoreToTopOfScreen) {
143
anchorLocation[1] + anchorView.height + 4.toDp()
144
} else {
145
- screenHeight - anchorLocation[1] + 4.toDp()
+ screenHeight - anchorLocation[1] - anchorView.height + 4.toDp()
146
}
147
148
showAtLocation(rootView, gravity, x, y)
0 commit comments