Skip to content

Touch Up when pointer is in TouchableVolume #5873

Description

@julenka

Overview

When a poke pointer is inside a touchable volume, it should not raise a touch up event. However, if you make a volume large enough, you'll get a touch up event if you go deep enough into the touchable volume

Steps to reproduce

  1. Add a cube with a touchablevolume component, and create a way to observe touch events.
  2. Move finger inside of touchable volume. Once you go deep enough in, you will receive a touch up event.

Expected Behavior

Touch up should only be raised when finger actually leaves the bounds of the volume

Actual Behavior

Touch up gets raised as soon as the finger is deep enough in the volume

As part of this fix, make sure to add a test to ensure this does not regress in the future.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions