-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
[新功能需求] Fab 悬浮按钮添加 offset 属性 #811
Labels
feature: need confirm
待确认的新特性
Comments
支持,我也有这个需求 |
更进一步,甚至可以设计成可以拖动的。(●'◡'●) |
组件本身是支持拖动的 |
可以考虑使用 |
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
这个功能解决了什么问题?
相对于默认 position 的设置偏移位置,当前悬浮按钮的默认位置不太符合我的需求,虽然可以通过直接调整style来设置位置,但是终究是不太方便
组件内部的 position 应该是通过计算得来的(考虑的机型的适配),直接调整可能会有一些适配的问题
你期望的 API 是什么样子的?
<wd-fab position="left-bottom" offset-x="20" offset-y="20" />
The text was updated successfully, but these errors were encountered: