mojira.dev
MC-165546

Background of hoverEvent text is rendered behind "Leave Bed" button while sleeping

The bug

When hovering over a text component in chat while sleeping, the background of the hoverEvent text is rendered behind the "Leave Bed" button.

[media]

Reproduction steps

  1. Place a bed

  2. Set the time to night

    /time set night
  3. Run the following command

    /tellraw @s {"text":"Text with hover event aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","hoverEvent":{"action":"show_text","value":"first line\nsecond line\nthird line"}}
  4. Enter the bed

  5. Hover over the text in chat
    ❌ The background of the hover text is rendered behind the "Leave Bed" button

Linked issues

Attachments

Comments 2

Fixed in 20w28a or earlier.

Doesn't seem to happen anymore in 20w28a.

marcono1234

(Unassigned)

Confirmed

Normal

Rendering, UI

bed, chat, text-component

19w46a, 19w46b, 1.15 Pre-release 4, 1.15.2, 20w11a, 20w17a, 20w18a

Retrieved