Open programming-with-ia opened 1 month ago
this heppens only when value assign as string
also issue with other properties like height
& width
that's working for me but need current feature
const variants:Variants = {
// others
none: custom => ({height: "auto", ...(custom ? {x: custom.x, y: custom.y}: {})})
} as const
but in case of 3d case an issue
Issue: Dragging Disabled When Applying
none
Variant with Custom TransformWhen using the following variants:
I apply the
none
variant with a custom transform. Thecustom
transform is supposed to restore the position to a previous drag state. However, when thenone
variant is applied, it disables the drag transformation, preventing the window from moving.Minimal Code Example
More Details
I am building a window component similar to a
Windows
OS window. I want the user to drag the window using the title bar.