-
Notifications
You must be signed in to change notification settings - Fork 148
提问 #1
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
Comments
组件现在还不支持拖拽哈,后面会慢慢完善。水平数据过多被遮盖是不是你水平没有加横向滚动条哈,或者可以在当前页面实现一个拖拽的功能。 |
水平方向加了没有作用,明显已超出恒定宽度,滚动不出来,overflow:hidden;overflow-x:srcoll,也没用。 |
我是用画布的概念来做的,就是外层是一张很大的画布,然后我把这个组件放在中间,这样就可以通过拖动方式来显示数据! |
这个思路能简单说一下吗?canvas标签 并不能放 标签元素。目前我是利用 MutationObserver 特性监听 class org-chart-node-children 的直接子元素并计算总宽度,然后修改父元素的宽度来达到宽度一致的问题。但是目前还差一个拖拽的特性去横向滚动条,我想我加一个 鼠标鼠标按下的事件就可以实现。如果是canvas画布的方式可以让我避免上述相关的dom操作的事情? |
这种结构图可以实现助手吗? |
大佬,这个组件有不有可拖拽的功能,还有水平展开数据过多,有不有滚动条或者鹰图功能。 现在水平数据过多有遮挡
The text was updated successfully, but these errors were encountered: