-
Im trying to create a dialog box with a text input but when i start typing in weirds out. See below Screen.Recording.2022-02-27.at.6.23.10.PM.movDoes anybody know why this is happening?
|
Beta Was this translation helpful? Give feedback.
Answered by
bashbunni
Mar 15, 2022
Replies: 1 comment 1 reply
-
Hey, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bashbunni
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
it looks like the vertical spacing in the dialog box is getting a bit messed up when
View()
gets called after the textinput updates.I was able to get it fixed by changing
return style.Render(dialog + "\n\n")
toreturn style.Render(dialog)
These newlines are basically manually adding margins to the height.
Let me know if this helps!