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

[Feature Request] FloatingPanel 的 height 属性可以由页面控制动态变化 #882

Open
felix9ia opened this issue Jan 13, 2025 · 0 comments

Comments

@felix9ia
Copy link

felix9ia commented Jan 13, 2025

使用示例,包括组件或 Hooks

image

  const [height, setHeight] = useState<number>(0)
      <FloatingPanel
        anchors={anchors}
        height={height}
      >
      </FloatingPanel>

解决方案

height 可以被页面动态控制变化

你想为这个功能创建一个 PR 吗

None

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

No branches or pull requests

1 participant