Skip to content

Conversation

@tachbana
Copy link

I modified ReflexElement.js and ReflexContainer.js to not do relative calculations if prop.size changes.

this.computeAvailableOffset(
splitterIdx, dir * offset)

this.state.isSetPropSize = data.isSetPropSize
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't a proper react way to alter the state. if isSetPropSize isn't used for rendering, then just a separate variable could be used instead.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I corrected the thing that you pointed out.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants