Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow us to hide the done button on the KeyboardToolbar #847

Closed
spaansba opened this issue Mar 8, 2025 · 0 comments · Fixed by #849
Closed

Allow us to hide the done button on the KeyboardToolbar #847

spaansba opened this issue Mar 8, 2025 · 0 comments · Fixed by #849
Assignees
Labels
enhancement New feature or request KeyboardToolbar Anything related to KeyboardToolbar component

Comments

@spaansba
Copy link

spaansba commented Mar 8, 2025

First of all a big thank you for maintaining this project, the new KeyboardToolbar is exactly what I wanted!!

Describe the solution you'd like
A way to hide the "done" button in the KeyboardToolbar just like we can hide the arrows with the showArrows prop. The perfect solution would be this:

 <KeyboardToolbar
        offset={{ opened: tabBarHeight }}
        showArrows={false}
        showDoneButton={false} // defaults to true like showArrows
 />

Describe alternatives you've considered
I tried setting the dontText to an empty string but it rightfully returns "done"

@kirillzyusko kirillzyusko added enhancement New feature or request KeyboardToolbar Anything related to KeyboardToolbar component labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request KeyboardToolbar Anything related to KeyboardToolbar component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants