Skip to content

hitSlop now support a single value instead of object #765

@MoOx

Description

@MoOx

How would you like to have this implemented now it's supported on Android (it was only iOS before 0.69).

For now we have to use View.edgeInsets(?~top,?~bottom,?~left,?~right, ()) and I am sure a lot of people would like to do something like View.hitSlop(5).
Maybe we could have hitSlop and hitSlopObj (to make this intuitive) ?

Feedback welcome !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions