Skip to content

Remove unwanted bottom padding in InputToolbar when Keyboard open  #1809

Closed
@Buwaneka-Sumanasekara

Description

@Buwaneka-Sumanasekara

Issue Description

I want to remove unwanted bottom padding in InputToolbar when keyboard opened. Its only happened in ios, In android it's working without any issue.

Steps to Reproduce / Code Snippets

Here is the code sample

Picture1

 <GiftedChat
                        messages={ar_messages}
                        onSend={messages => this._onSendMessage(messages)}

                        user={{
                            _id: CurUser.user_id,
                            name: CurUser.display_name
                        }}
                        renderActions={this._renderLeftButton}
                        renderAccessory={this._renderSecondLine}
                        renderSend={this._renderSendButton}
                        text={this.state.txt_input_value}
                        onInputTextChanged={text => this.setCustomText(text)}
                        multiline={true}
                        alwaysShowSend={true}
                        keyboardShouldPersistTaps={'never'}
                        textInputProps={AppStyles.InputStyles.ChatInput.Props}
                        textInputStyle={AppStyles.InputStyles.ChatInput.Style}
                        renderBubble={this._renderBubble}
                        isTyping={false}
                        accessoryStyle={{ height: accessoryHeight }}
                        lightboxProps={{ springConfig: { tension: 90000, friction: 90000 } }}
                    />
```



#### Expected Results
Remove unwanted bottom padding


#### Additional Information

* Nodejs version: v12.14.0
* React version: 16.9.0
* React Native version:0.61.5
* react-native-gifted-chat version: 0.16.0
* Platform(s) (iOS, Android, or both?): iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions