The Bug:
When a villager has a low number of trades, the scroll bar is still present within the villager trading GUI despite it not being able to be dragged or interacted with; this is confusing.
Steps to Reproduce:
Summon a villager with a singular trade by using the command provided below.
/summon minecraft:villager ~ ~ ~ {NoAI:1b,Offers:{Recipes:[{buy:{id:"minecraft:emerald",Count:1b},sell:{id:"minecraft:stone",Count:1b},maxUses:999}]}}
Interact with the villager to bring up the villager trading UI.
Take note of how there's a scroll bar present despite you not being able to use it.
Linked issues
Attachments
Comments 2
Relates to MC-156570
This behaviour is consistent with other screens, e.g. the creative inventory or the stonecutter UI. As per the resolution of MC-156570, I believe that this behaviour is intended.