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

Issues With Android Keyboard within Dialogs #2774

Open
1 task
esaulopezTek opened this issue Oct 20, 2023 · 1 comment
Open
1 task

Issues With Android Keyboard within Dialogs #2774

esaulopezTek opened this issue Oct 20, 2023 · 1 comment
Labels
bug a bug in one of the components wontfix

Comments

@esaulopezTek
Copy link

esaulopezTek commented Oct 20, 2023

Description

Using an android device, I am utilizing the the Picker Component.
I am rendering a custom Header and Modal.
For the Modal I am using Incubator.Dialog.
I have a search box in my dialog, we are using it for filtering.

The main issue is that the keyboard avoiding view dose not work when setting,

modalProps={{ statusBarTranslucent: true}}

Without this prop, it works just fine with the exception of the status bar remaining white.

Related to

  • Components

Steps to reproduce

use custom dialog in picker with android and keyboard avoiding view,

Set the line below within the props of the dialog.
modalProps={{ statusBarTranslucent: true}}

Expected behavior

Keyboard avoiding view would work the same as without.

Actual behavior

Keyboard avoiding view dose not work.

More Info

Code snippet

<Incubator.Dialog
ref={modalRef}
visible={visible}
onDismiss={() => {
onDone();
toggleModal(false);
}}
width="100%"
height='25%'
position={'bottom'}
bottom
migrate
modalProps={{ useKeyboardAvoidingView: true,statusBarTranslucent:true }}
// eslint-disable-next-line react-native/no-inline-styles
containerStyle={{ backgroundColor: 'white', marginBottom: 0 }}
direction={PanningProvider.Directions.DOWN}
headerProps={{
leadingAccessory: header,
showKnob: false,
showDivider: false
}}


### Screenshots/Video


### Environment
 


- React Native UI Lib version:

### Affected platforms

- [ ] Android
@esaulopezTek esaulopezTek added the bug a bug in one of the components label Oct 20, 2023
Copy link

stale bot commented Feb 1, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in one of the components wontfix
Projects
None yet
Development

No branches or pull requests

1 participant