Skip to content

Prevent consumer props from overriding gesture handlers in GestureHandler #1044

Description

@RUKAYAT-CODER

Overview
src/components/mobile/GestureHandler.tsx (lines 74-78) spreads {...gestureProps} and then {...props} on the same element, so any touch or pointer handler passed by the consumer silently overrides the gesture library's handlers and breaks swipe/pinch detection. Merge overlapping event handlers instead of letting props clobber gestureProps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendNexjs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions