The Bug:
Tooltips can get cut off at the top of the screen.
This issue isn’t exclusive to dialogs; it can be seen elsewhere as well.
Steps to Reproduce:
Display the appropriate dialog by using the command provided below.
/dialog show @s {"type":"minecraft:notice","title":"MC-299894","body":{"type":"minecraft:item","item":{"id":"minecraft:diamond"},"description":"This is a diamond."}}
Click on the diamond, move your mouse cursor toward the top of your screen, and observe if the tooltip of the diamond gets cut off.
Observed Behavior:
Tooltips can get cut off at the top of the screen.
Expected Behavior:
Tooltips would not get cut off at the top of the screen.
Attachments
Comments 2
[media]