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

dynamic calc miscalculation

Open Chasen-Zhang opened this issue 3 years ago • 10 comments

Describe the bug

This happens when you drag up and down image

BottomResizable it is hidden !

Out of visual range

image It turned out to be a negative number

Chasen-Zhang avatar Feb 25 '22 06:02 Chasen-Zhang

Hi @Chasen-Zhang

Could you provide a Code Sandbox reproducing the issue? I've tried reproducing in the same issue in the latest version Chrome but don't see the same behaviour.

It would also be helpful to know:

  • The version of react spaces you are using
  • The browser that exhibits this behaviour

aeagle avatar Mar 09 '22 12:03 aeagle

me too

hkl921010 avatar Mar 24 '22 06:03 hkl921010

image

image

image LeftResizable components drag left and right also have problems

minumsize not working

Reference

"react-spaces": "^0.3.4",

Chasen-Zhang avatar Jun 13 '22 08:06 Chasen-Zhang

It's not going to happen. I can't give it to demo

Chasen-Zhang avatar Jun 13 '22 08:06 Chasen-Zhang

This can happen if you drag fastly

Chasen-Zhang avatar Jun 13 '22 11:06 Chasen-Zhang

@aeagle help help

Chasen-Zhang avatar Jun 13 '22 12:06 Chasen-Zhang

image

Chasen-Zhang avatar Jun 13 '22 12:06 Chasen-Zhang

You might not know the boundary conditions

Chasen-Zhang avatar Jun 13 '22 12:06 Chasen-Zhang

image I guess this code have bugs

Minumsize must be combined with minumsize and must not be smaller than minumsize @aeagle

Chasen-Zhang avatar Jun 13 '22 12:06 Chasen-Zhang

Hi @Chasen-Zhang

Could you provide a Code Sandbox reproducing the issue? I've tried reproducing in the same issue in the latest version Chrome but don't see the same behaviour.

It would also be helpful to know:

  • The version of react spaces you are using
  • The browser that exhibits this behaviour

mac chrome latest

Chasen-Zhang avatar Jun 14 '22 02:06 Chasen-Zhang

@Chasen-Zhang I've identified a race condition in the resize operation of spaces in relation to issue #107. There is a possibility that this is the same issue you are experiencing. I've released a hotfix in v0.4.1.

aeagle avatar Jan 07 '23 23:01 aeagle

@Chasen-Zhang Hi. Did you manage to test this fix?

aeagle avatar Jan 11 '23 17:01 aeagle

Going to close this as resolved. Feel free to reopen if you are still having issues.

aeagle avatar Jan 19 '23 20:01 aeagle