Wrong position draggable item when orientation was changed
See original GitHub issue<DraxProvider>
<View style={styles.container}>
<DraxList
data={alphaData}
renderItemContent={({ item }) => renderItem(item)}
onItemReorder={({ fromIndex, toIndex }) => reorderItems(fromIndex, toIndex)}
keyExtractor={(item) => item}
/>
</View>
</DraxProvider>
I am using DraxList. When I change orientation (landscape/portrait), draggable item has a wrong behavior. He is jumping ups outside of screen. I think this is happens because position is recalculates wrong when orientation changes.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
jQuery draggable shows helper in wrong place after page ...
1. Use position:absolute; in your css. · 2. Make sure the parent element (event if it's the body) has overflow:auto; set. · 3....
Read more >Drag Drop Sortable, mixed orientation support · Issue #13372
Instead of shifting elements via transform, the placeholder element should be moved (currently it remains in the place of the original dragging ...
Read more >#7263 (Wrong position when draggable element or it's ...
When element or it's parent has transforms, eg. rotate or scale, the element translates to wrong position when dragging using JQuery UI Draggable....
Read more >GtkPaned: setting position sometimes results in unexpected ...
When I click on Switch button, then i want to change the paned orientation and set position to 50%. Some when in past...
Read more >Dynamically Update Positions During Drag Using react- ...
the dragged item's displayPosition needs to change; the item that has been passed by the dragged item needs its displayPosition to change as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, thanks. It looks like this is a problem on my side, so I am closing the issue.
Good luck. If you learn anything illuminating or discover a bug, please feel free to share here or reopen this issue.