Bug
When making the cursor blink in multilined text input dialog forms it causes the characters to shift to the left
Reproduce
Try it with a Impulse Command Block by placing it and execute these commands :
Multines :
dialog show @p { "type": "minecraft:notice", "title": { "text": "Test cursor display in text field input" }, "inputs": [ { "type": "minecraft:text", "key": "text", "width": 75, "label": "Text :", "initial": "Test\nTest\nTest", "max_length": 50, "multiline": { "max_lines": 3 } } ], "action": { "label": "Send", "width": 50, "id": "", "on_submit": { "type": "minecraft:command_template", "template": "say $(text)" } }}
and
No multilines :
dialog show @p { "type": "minecraft:notice", "title": { "text": "Test cursor display in text field input" }, "inputs": [ { "type": "minecraft:text", "key": "text", "width": 75, "label": "Text :", "initial": "Test\nTest\nTest", "max_length": 50, } ], "action": { "label": "Send", "width": 50, "id": "", "on_submit": { "type": "minecraft:command_template", "template": "say $(text)" } }}
and click on a text/select a text in the multlines text field of the dialog, and see all the cacracters to the right are offset
Look at the video to see the problem
Environment
Java Edition
Windows 10
Attachments
Comments 0
No comments.