NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

TextArea totalLines not working anymore

Open ricohumme opened this issue 2 years ago • 3 comments

Description

TextArea's totalLines is not effecting the size of the text area field

CodeSandbox/Snack link

https://snack.expo.dev/@ricohumme/textarea-example

Steps to reproduce

See snack to view a reproducable case

NativeBase Version

3.4.25

Platform

  • [ ] Android
  • [ ] CRA
  • [X] Expo
  • [ ] iOS
  • [ ] Next

Other Platform

web

Additional Information

No response

ricohumme avatar Feb 08 '23 13:02 ricohumme

I also found this to be working in 3.4.1 but broke in 3.4.2

ricohumme avatar Feb 08 '23 16:02 ricohumme

I'm feeling no work is being done at the moment on this project...

ricohumme avatar May 25 '23 09:05 ricohumme

Also found this issue in my project. I would submit a PR but I'm not entirely confident with the inner workings. I can see that totalLines is passed to numberOfLines here, multiline={true} and totalLines (sometimes) are set in the theme. However, it looks like none of these are passed to the underlying Input primitive.

gezquinndesign avatar Jul 18 '23 20:07 gezquinndesign