FaridSafi / react-native-gifted-form

📝 « One React-Native form component to rule them all »
MIT License
1.44k stars 214 forks source link

TextAreaWidget is looking really bad in Android #104

Open eliasturbay opened 7 years ago

eliasturbay commented 7 years ago

20187450_1919320644989712_1457344416_o

Anyone saw this issue before? Any clue on how to solve it? @FaridSafi @cooperka BTW, it's working properly on iOS

cooperka commented 7 years ago

Not good! Would you mind submitting a PR to fix this please?

eliasturbay commented 7 years ago

@cooperka I forgot to mention that I was able to fix it with this workaround:

          <GiftedForm.TextAreaWidget
            name="body"
            title="Details"
            placeholder="Details of your listing"
            widgetStyles={{
              textArea: {
                width: Layout.window.width - 20
              }
            }}
          />
rajatbeck commented 7 years ago

Facing the same issue...can anybody suggest any alternative

matthewcoupal commented 6 years ago

Just ran into this issue. I was able to get it working by using Dimensions.get('window').width in place of Layout.window.width