You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometimes, inconsistently, when dragging an item it will get "stuck" in drag mode. it doesn't happen all the time, and it may only be happening on specific devices (?) -- i've only seen this reproduced on iphone 15 pro. it does not seem to happen on iphone 13 pro or samsung s23 devices.
everything else works fantastically: auto-scroll, enable/disable sorting, multi-column, etc... even the pagination and pull-to-refresh works great when wrapped Sortable.Grid in Animated.FlatList.
i don't think i'm doing anything special or outrageous, so i'm unsure why this would be happening. changing the data input or disable/enable sort seems to "reset" the drag state. here's the code i'm using:
constref=useAnimatedRef<Animated.FlatList<T>>();constoverDrag: OverDrag=(props.columns??0)>=2 ? 'both' : 'vertical';constonOrderChange=()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light);constonDragEnd=({
sortedItem,
sortedAfterItem,
version,}: DragAndDropListDragEndParams<TodoListItemDataFragment>)=>{// api call ... handleEditListCustomSortOrder({ sortedItem, sortedAfterItem, version });};constrenderItem=React.useCallback(({ item })=>(<ListItemshowListNameitem={item}listId={item.listId}listType={ListTypeEnum.TaskList}onRefresh={onRefresh}/>),[],);return(<Animated.FlatListref={ref}data={[1]}refreshing={refreshing}onRefresh={onRefresh}keyboardDismissMode="on-drag"renderItem={()=>(<Sortable.Grid<T>scrollableRef={ref}data={data}renderItem={renderItem}activeItemScale={1.05}inactiveItemOpacity={0.85}dragActivationDelay={600}overDrag={overDrag}onDragEnd={onDragEnd}onOrderChange={onOrderChange}rows={undefined}/>)}/>);
sometimes, inconsistently, when dragging an item it will get "stuck" in drag mode. it doesn't happen all the time, and it may only be happening on specific devices (?) -- i've only seen this reproduced on iphone 15 pro. it does not seem to happen on iphone 13 pro or samsung s23 devices.
everything else works fantastically: auto-scroll, enable/disable sorting, multi-column, etc... even the pagination and pull-to-refresh works great when wrapped
Sortable.GridinAnimated.FlatList.i don't think i'm doing anything special or outrageous, so i'm unsure why this would be happening. changing the data input or disable/enable sort seems to "reset" the drag state. here's the code i'm using:
here's an example of it happening:
ScreenRecording_04-10-2025.07-33-59_1.MP4