-
Notifications
You must be signed in to change notification settings - Fork 140
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
我甘特图内嵌了一个甘特图,遇到一些问题 #68
Comments
这个可能是浏览器的问题 里面的滑动可能是滑动时鼠标在内嵌的甘特图里? |
对,滑动时,鼠标在内嵌甘特图里面 |
而且只有对应的那行会跟着滑动,滑动距离在一个scale时间的宽度 |
可能你需要把内嵌的甘特图的wheel 事件阻止继续上抛 |
好的,谢谢作者,我试一下 |
我试了阻止wheel事件,但是不生效,然后我加了一个蒙版,但是tip提示没有了 |
这个蒙版加了z-index,所以阻止了tip提示 |
tip 提示? |
我加了一个antd的a-tooltip组件用来当文本提示,但是现在这个提示不起作用了 |
event.stopPropagation 不行吗? |
抱歉,没能及时回复你,之前在做其他的,event.stopPropagation 可以,但是会导致的一个问题是他在内嵌甘特图上滚动时候整个页面都不滚动,连body的wheel事件都阻止了 |
em,那就动态的,鼠标点进去的时候再禁止 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我甘特图内嵌了一个甘特图,里面那个隐藏了滚动条,但是用笔记本触摸板滑动甘特图的时候,里面那个甘特图图也会有小小的滑动,就一个scale时间的宽度,还有就是没滑到最左边就退回上一页了
The text was updated successfully, but these errors were encountered: