mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: odd pushdown effect after drag/drop
Apparently when you set your own css-transition properties, it'll cause this known visual bug for react-beautiful-dnd. See https://github.com/atlassian/react-beautiful-dnd/issues/2086 for more info about this
This commit is contained in:
parent
4afa1d4458
commit
b3b78b058f
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ function ActivityElement(props: ActivitiyElementProps) {
|
||||||
>
|
>
|
||||||
{(provided, snapshot) => (
|
{(provided, snapshot) => (
|
||||||
<div
|
<div
|
||||||
className="flex flex-row py-2 my-2 w-full rounded-md bg-gray-50 text-gray-500 hover:bg-gray-100 hover:scale-102 hover:shadow space-x-1 items-center ring-1 ring-inset ring-gray-400/10 shadow-sm transition-all delay-100 duration-75 ease-linear"
|
className="flex flex-row py-2 my-2 w-full rounded-md bg-gray-50 text-gray-500 hover:bg-gray-100 hover:scale-102 hover:shadow space-x-1 items-center ring-1 ring-inset ring-gray-400/10 shadow-sm"
|
||||||
key={props.activity.id}
|
key={props.activity.id}
|
||||||
{...provided.draggableProps}
|
{...provided.draggableProps}
|
||||||
{...provided.dragHandleProps}
|
{...provided.dragHandleProps}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue