mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
mobile: fix keyboard jump on tap in dropdown
This commit is contained in:
@@ -124,6 +124,11 @@ export function Dropdown(props: DropdownProps) {
|
||||
}}
|
||||
blocking={!isMobile}
|
||||
focusOnRender={!isMobile}
|
||||
onMouseDown={(e) => {
|
||||
if (globalThis.keyboardShown) {
|
||||
e.preventDefault();
|
||||
}
|
||||
}}
|
||||
sx={{
|
||||
minWidth: menuWidth,
|
||||
maxWidth: isBottom ? "95vw" : "auto",
|
||||
|
||||
Reference in New Issue
Block a user