Skip to content

View is not hittable at its visible point #4747

@BhavyaCodeAlchemy

Description

@BhavyaCodeAlchemy

Did you test using the latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test fail and you're not sure why?

  • I have read the troubleshooting guide and it didn't help me.

What happened?

I encounter an error when executing a test with Detox versions ^20.33.0 and ^20.36.3.

Test Failed: View is not hittable at its visible point. Error: Failed to hit view with identifier `icon.trash` at point {353, 158} with hit-test
    - Origin view: <UITransitionView: 0x108160df0; frame = (0 0; 393 852); autoresize = W+H; layer = <CALayer: 0x600000326880>>
    - Absolute origin: {0, 0}
    - Hit: <RCTView: 0x118d11a70; frame = (0 0; 393 852); alpha = 0; backgroundColor = UIExtendedSRGBColorSpace 0 0 0 1; layer = <CALayer: 0x6000006dfc40>> reactTag: 7347; frame = {{0, 0}, {393, 852}}; layer = <CALayer: 0x6000006dfc40>
    - Target view: <RCTView: 0x118b36ad0; frame = (54 0; 22 22); layer = <CALayer: 0x6000006d9540>> reactTag: 7329; frame = {{54, 0}, {22, 22}}; layer = <CALayer: 0x6000006d9540>
    - Relative point: {353, 158}
Screen.Recording.2025-04-01.at.10.32.05.AM.1.mov

What was the expected behaviour?

No response

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: ^20.33.0 and ^20.36.3 both version try
React Native version: 0.73.6
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version: v21.3.0
Device model: Simulator iPhone 15
iOS version: iOS 17.2
macOS version: macOS Sonoma 14.2
Xcode version: 15.2
Test-runner (select one): jest

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log here!

More data, please!

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions