react-rnd icon indicating copy to clipboard operation
react-rnd copied to clipboard

If set minWidth or minHeight, Cannot resize.

Open argxentakato opened this issue 5 years ago • 5 comments

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.

argxentakato avatar Sep 10 '20 03:09 argxentakato

I'm also facing the same issue.

@bokuweb, please let us know if there is any update on this.

Thanks a lot.

akshaybosamiya avatar Sep 21 '20 10:09 akshaybosamiya

@akshaybosamiya @silverscat-3 Thanks for your report. This issue has fixed by v10.2.3. thanks :)

bokuweb avatar Sep 22 '20 15:09 bokuweb

+1 Still persist for me. the current version is 10.3.4 . Can anyone please look into this?

fatinWasta avatar Sep 08 '21 05:09 fatinWasta

same issue here with 10.4.1 when trying to use fit-content.

ImLunaHey avatar Dec 02 '23 02:12 ImLunaHey

sorry I'll do some investigation.

bokuweb avatar Dec 02 '23 03:12 bokuweb