Skip to content

VictoryCursorContainer broken #3063

@KatChaotic

Description

@KatChaotic

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Victory version

37.3.6

Code Sandbox link

https://snack.expo.dev/@katchaotic/victory-native-cursor-container-issue

Bug report

VictoryCursorContainer is completely broken in ^37.3.6. In iOS/Android/Web, the content in the container gets clipped (see snack). In iOS/Android/Web, the cursor functions do not work.

Steps to reproduce

1. Change version to 37.0.2 (https://snack.expo.dev/AUB4sB8OSfiFcnD-RCb-v)
2. VictoryCursorContainer works as expected
3. Change version to 37.3.6 (https://snack.expo.dev/4wpJQjv--S9VRTeEH26DB)
4. VictoryCursorContainer does not work as expected

Expected behavior

When using VictoryCursorContainer, content should not be clipped (iOS/Android/Web) and you should be able to track touches within the container (iOS/Android/Web)

Actual behavior

Chart with VictoryCursorContainer clipped

Environment

- Device: iPhone / Xiaomi
- OS: iOS/Android
- Expo: SDK53
- React Native: 0.79.5
- Node: 18.19.0
- npm: 10.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Bug 🐛Oh no! A bug or unintentional behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions