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

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

Open
2 of 3 tasks
faforus opened this issue Apr 4, 2024 · 0 comments
Open
2 of 3 tasks

Comments

@faforus
Copy link

faforus commented Apr 4, 2024

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant