diff --git a/playlet-lib/src/components/ContextMenu/ContextMenu.bs b/playlet-lib/src/components/ContextMenu/ContextMenu.bs index d5224a34..0a4b3921 100644 --- a/playlet-lib/src/components/ContextMenu/ContextMenu.bs +++ b/playlet-lib/src/components/ContextMenu/ContextMenu.bs @@ -163,6 +163,17 @@ function OnkeyEvent(key as string, press as boolean) as boolean Close() return true end if + + if key = "up" + m.optionsList.jumpToItem = m.optionsList.content.getChildCount() - 1 + return true + end if + + if key = "down" + m.optionsList.jumpToItem = 0 + return true + end if + return false end function