Skip to content

If set minWidth or minHeight, Cannot resize. #739

@argxentakato

Description

@argxentakato

Overview of the problem

I'm using react-rnd version 10.2.2

My browser is: Chromium

I am sure this issue is not a duplicate? Yes.

Reproduced project

https://codesandbox.io/s/young-microservice-md19b

Description

If I set minWidth or minHeight to prevent Rnd from being smaller than your children divs (whether it's a fixed value like "300px" or a keyword like "fit-content") I'll not be able to resize it completely.

Steps to Reproduce

  1. Just put on miniWidth or minHeight

Expected behaviour

Can resize it to a size not less than minWidth (minHeight).

Actual behaviour

It's as if it's frozen and won't move.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions