Skip to content

Not working on react-native Modal components #18

Description

@JuanDeLeon

I have a Modal component (react-native library) with a couple of TextInputs on it.

I set this Modal property:
onShow={() => this.setAndroidAdjustNothing()}

Function definition is:

setAndroidAdjustNothing(){
    if(AndroidKeyboardAdjust){
      alert('adjusted');
      AndroidKeyboardAdjust.setAdjustNothing();
    }
  }

I can see the Alert show up when the Modal pops up, so it's being called.
However when I click on the inputs, the current view is resized to fit all components into the remaining space.
Could it be that it's targeting the Main activity, and not the actual Modal activity? Is there a way to do this?

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