TheJuki / KFormMaster

Generic form builder in Kotlin
https://thejuki.github.io/KFormMaster/
Apache License 2.0
196 stars 46 forks source link

MultiLineEditTextElement PickerDropDownElement doesn't work correctly with multi line #367

Closed Benjf29 closed 1 year ago

Benjf29 commented 1 year ago

Description

After an upgrade to version 8.3.0.0 from 6.5.2.57, some component doesn't work correctly

Expected behavior

FormMultiLineEditTextElement FormPickerDropDownElement and should be multi line component

Actual behavior

FormMultiLineEditTextElement show only 1 line, same if we put min line. The text go off the screen to the right, and can't be read by the user. It's the same with the FormPickerDropDownElement. When user select one item, the text goes off the screen.

Exemple with the FormMultiLineEditTextElement : https://user-images.githubusercontent.com/22636985/224628907-07dd2979-9a4c-4232-ae2e-e281d968c2da.mov With the view bounds enable https://user-images.githubusercontent.com/22636985/224630007-1e4aa292-b677-4d89-9e89-fabcc1177a0b.mov

and with the FormPickerDropDownElement https://user-images.githubusercontent.com/22636985/224629139-817ffa0f-7a0e-40d3-9670-e84b6e8cc9e7.mov

Steps to reproduce the bug

  1. Just use FormPickerDropDownElement or FormMultiLineEditTextElement, it's the same with any parameter set (Max Line, Multi line etc..)

KFormMaster version

System information