Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resizable-box support horizontal and vertical dragging #48

Merged
merged 1 commit into from
Oct 31, 2023
Merged

fix: resizable-box support horizontal and vertical dragging #48

merged 1 commit into from
Oct 31, 2023

Conversation

BoBoooooo
Copy link
Contributor

  • 导出 ResizableBox component
  • axis 支持 x & y 两个方向的拖动
  • 限制 x & y 拖动最大/最小值
// axis y example:
<ResizableBox axis="y" resizeHandlePosition="bottom" height={400}>
   <div>content</div>
</ResizableBox>

<ResizableBox axis="y" resizeHandlePosition="top" height={400}>
   <div>content</div>
</ResizableBox>

@wwsun wwsun changed the title feat: resizable-box support horizontal and vertical dragging fix: resizable-box support horizontal and vertical dragging Oct 31, 2023
@wwsun wwsun merged commit fd2fa94 into NetEase:main Oct 31, 2023
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