Skip to content

Options.overlay.interceptTouchOutside disfunctional #7797

Closed
@aight8

Description

@aight8

What happened?

When I display an overlay screen, and set the interceptTouchOutside option to false, it is not possible to interact with UI elements on the screen behind it.

What was the expected behaviour?

If I display an overlay screen (component layout), and set the interceptTouchOutside option to false (no matter if in the defaults, in showOverlay or on the screen component options), it should be possible to interact with elements on the screen behind (behind the overlay screen).

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

Navigation.showOverlay({
	component: {
		name: 'OverlayComponent',
		options: {
			layout: {
				componentBackgroundColor: 'transparent',
			},
			overlay: {
				interceptTouchOutside: false,
			}
		},
	},
})

In what environment did this happen?

React Native Navigation version: 7.37.1
React Native version: 0.72.6
Has Fabric (React Native's new rendering system) enabled: no
Node version: 20.8.0
Device model: iPhone 13 Pro (device)
iOS version: 17.1

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