Skip to content

Conversation

@m-bert
Copy link
Contributor

@m-bert m-bert commented Dec 15, 2025

This reverts commit 3d5e298.

Description

I have overlooked that result of using bitwise OR operator on Directions is of type number. This caused CI to fail.

Also, now I see that it didn't cover all cases, so reverting it makes sense.

Test plan

const fling = useFlingGesture({
  direction: Directions.RIGHT | Directions.LEFT,
});

@m-bert m-bert requested a review from akwasniewski December 15, 2025 10:29
@m-bert m-bert merged commit 2c0277a into next Dec 15, 2025
2 checks passed
@m-bert m-bert deleted the @mbert/fling-directions branch December 15, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants