Skip to content

Fix/sortable list item fixes #2217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 31, 2022
Merged

Fix/sortable list item fixes #2217

merged 8 commits into from
Aug 31, 2022

Conversation

M-i-k-e-l
Copy link
Collaborator

@M-i-k-e-l M-i-k-e-l commented Aug 24, 2022

Description

Fix issue with flaky sorting when dragging fast (see #2118)
Scale both axes and add scale to props
Incubator.TextField - support a gesture-handler version (for a draggable input list item).
WOAUILIB-2824

Changelog

SortableList - fix issue with flaky sorting when dragging fast + add scale to props + support a gesture-handler version in Incubator.TextField

@M-i-k-e-l M-i-k-e-l requested a review from ethanshar August 25, 2022 06:16
@M-i-k-e-l M-i-k-e-l marked this pull request as ready for review August 25, 2022 06:16
/**
* Use react-native-gesture-handler instead of react-native for the base TextInput
*/
gestureHandler?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would call this useGestureHandler

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds more like useGestureHandlerRootView we have in Modal, I thought this keeps the convention of animated and reanimated, WDYT?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But animated reanimated are descriptive so it works and gestureHandler is a noun
Maybe call it gestureHandled, but that sounds a little weird.
maybe withGestureHandler.. 🤔

@ethanshar
Copy link
Collaborator

@M-i-k-e-l
Approved, left a small comment on naming (:

@M-i-k-e-l M-i-k-e-l enabled auto-merge (squash) August 31, 2022 07:49
@M-i-k-e-l M-i-k-e-l merged commit 684a39f into master Aug 31, 2022
@M-i-k-e-l M-i-k-e-l deleted the fix/sortable-list-item-fixes branch August 31, 2022 07:57
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.

2 participants