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

关于Scroller插件的transitionToRect()方法无法正常使用 #3757

Closed
jefferyjeff opened this issue Jul 10, 2023 · 4 comments · Fixed by #3763
Closed

关于Scroller插件的transitionToRect()方法无法正常使用 #3757

jefferyjeff opened this issue Jul 10, 2023 · 4 comments · Fixed by #3763
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems

Comments

@jefferyjeff
Copy link

问题描述

在Vue加载Scroller插件和 单独使用Scroller插件时,
插件的transitionToRect()按1.0版本代入参数使用,在node:collapse点击后,动画开始时正常执行,执行到最后一步是出现错误,导致动画回退到错误发生时的状态,节点大小和布局都被打乱

重现链接

//

重现步骤

  1. 设置node的collapse展开关闭状态,并在模型上定义button的node:collapse事件
  2. 监听node:collapse事件,并点击
  3. 获取node的box后传递给transitionToRect()
  4. 动画开始执行,执行到快完成时报错length undefined
  5. 错误位置在于 x6-common/src/dom/event/core.ts,在传入事件时,最后一个handles没有传入

预期行为

transitionToRect能同1.0版本一样使用

平台

  • 操作系统: Windows
  • 网页浏览器: [Google Chrome, Safari, Firefox ]
  • X6 版本: [2.11.1]

屏幕截图或视频(可选)

TRANS错误
core错误

补充说明(可选)

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 10, 2023

👋 @jefferyjeff

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@NewByVector
Copy link
Contributor

能否基于这个模板提供一个可以复现的 demo?

@NewByVector NewByVector added the resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems label Jul 10, 2023
@NewByVector
Copy link
Contributor

请更新到最新版本:@antv/[email protected]

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 11, 2024

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jul 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants