小编Dar*_*ore的帖子

React Dnd out of position after scroll

I'm using react-beautiful-dnd to make table rows draggable.
The dragging goes well, but when I scroll the page when I have a draggable it gets out of position.
I have no idea why.
Also in the css is nothing weird found.

I have no idea why this is happening and don't know how to fix this. Here is an example of my problem.

在此处输入图片说明

This is my code:

import update from "immutability-helper";
import * as React from "react";
import { DragDropContext, …
Run Code Online (Sandbox Code Playgroud)

javascript drag-and-drop reactjs react-dnd

16
推荐指数
1
解决办法
797
查看次数

标签 统计

drag-and-drop ×1

javascript ×1

react-dnd ×1

reactjs ×1