Comments (3)
@Slapbox. I seemed to have tracked down the cause of this issue to a race condition in the resize operation. Looking at the code there was a possibility that the handler which deals with mouse/touch moves during a resize operation could also fire after the resize operation had completed and also after the onResizeEnd
callback. This would result in the out of sync UI that you have seen.
I've put a fix in v0.4.1
which now hopefully fixes this issue.
from react-spaces.
PR #139
from react-spaces.
Thanks for your awesome work @aeagle!
I can't recall the last time I saw this issue so maybe whatever I was experiencing - I think we found a workaround for our use-case because we're on 0.3.6
currently and I haven't seen the issue in ages. As such, unfortunately I can't confirm the fix on my end - but I think this issue can be considered resolved!
Apologies for forgetting to update the issue, and a big thanks to you for not forgetting about it!
from react-spaces.
Related Issues (20)
- Dynamic minimum and maximum size when resizing does not work HOT 3
- dynamic calc miscalculation HOT 12
- add sourcecode to lorem-ipsum demo HOT 1
- Trying to resize panel throws `getBoundingClientRect` error HOT 4
- bug: resizeType always is "resize-right" HOT 1
- bug: how to judge "LeftResizable" drag's direction? HOT 1
- Corner resize handles HOT 3
- Opposite edge resizing (left/right or top/bottom)
- Attempted import error: 'unstable_useOpaqueIdentifier' is not exported from 'react' HOT 2
- Auto scroll not working while dragging using react-beautiful-dnd HOT 1
- Styles not working as expected HOT 2
- handleSize seems to be ignored on Custom spaces, always 5px HOT 3
- SSR on 0.2.0: ReferenceError: document is not defined HOT 8
- `onResizeEnd` doesn't respect `maximumSize` if `size` === `maximumSize` HOT 1
- Is it possible to have a minimum size fill HOT 1
- Allow 'as' property to be Polymorphic (to play with libraries like Framer Motion) HOT 8
- Update peer dependencies for react to include v17 HOT 4
- Allow grid/snap points to be specified on a resizable space to constrain resizes
- Customize Handles HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-spaces.