nandorojo/moti

RN editable={false} TextInput wrapped in MotiPressable unclickable 0.28.1

faforus opened this issue · 0 comments

Is there an existing issue for this?

  • I have searched the existing issues

Do you want this issue prioritized?

  • Yes, I have sponsored
  • Not urgent

Current Behavior

React Native - a text input with editable={false} where data is displayed and generated through outside modal wrapped with MotiPressable can no longer be clicked in version 0.28.1. It appears as if the TextInput had higher z-index. It worked correctly in 0.21.0.

Expected Behavior

It should be clickable. It is only clickable if the hitslop is larger than the Input, so you can click on the sides.

Steps To Reproduce

Wrap TextInput with editable={false} in MotiPressable

Versions

- Moti:0.28.1
- Reanimated:3.6.2
- React Native:0.73.6

Screenshots

No response

Reproduction

      <MotiPressable
        onPress={modal.show}
      >
        <TextInput
          editable={false}
        />
      </MotiPressable>