discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Placeholder Text In A Modal Cannot Be Seen When To Long

Open Icebluewolf opened this issue 1 year ago • 0 comments

Description

When the placeholder text for a modal is too long for the short input type it becomes unreadable. The current limit in the API is 100 characters. Only about the first 58 characters are visible. The last word of the field is "limit" half of the "i" and all of the "t" are cut off. Shown in the 3rd field of the image. image

Steps to Reproduce

  1. Create a modal with a short text input field. Set the placeholder value of this text input to 100 characters (the limit according to the API docs)
  2. Send the modal to the user.

Expected Behavior

The full placeholder text is shown or there is some way to view the entire placeholder text.

Current Behavior

The placeholder text is cut off due to the modal not being wide enough and the short text input only having one line. Allowing for almost half of the placeholder to not be visible.

Screenshots/Videos

No response

Client and System Information

Canary 211190 (9e0c789) Host 1.0.72 (34510) Windows 10 64-Bit (10.0.19045)

Icebluewolf avatar Jul 06 '23 22:07 Icebluewolf