New-task slash menus use the larger space above or below the cursor to avoid clipping.
Details
Improved: Desktop slash commands from short new-task descriptions now use the larger of the vertical spaces above or below the caret, keeping the full menu inside the viewport without clipping (HTPR-5392)