UX: Show scrollbar only when needed in dropdowns (PR #14461)

Avoids showing a disabled scrollbar when not necessary.

GitHub