ISSUE-017 - Basic drag functionality added.
I cannot combine it with transition handling any top/left transitions.
This commit is contained in:
1 parent
1ba5e99532
commit
9541306894
4 files changed
+36
-8
No files matched your search
@@ -11,8 +11,8 @@ export const OverlayItemContainer = styled.div.attrs<OverlayItemContainerProps>(
|
||||
visible,
|
||||
}) => ({
|
||||
style: {
|
||||
top: y,
|
||||
left: x,
|
||||
// top: y,
|
||||
// left: x,
|
||||
display: visible ? undefined : "none",
|
||||
},
|
||||
}))<OverlayItemContainerProps>`
|
||||
|
||||
Reference in new issue
Block a user