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

Switching to version 5.0 on the official website and using the search function will cause the page to freeze #6281

Open
potato-sauce opened this issue Sep 5, 2024 · 5 comments

Comments

@potato-sauce
Copy link

Describe the bug / 问题描述

https://g6-next.antv.antgroup.com
4.x版本可以正常使用搜索,用5.0版本搜的时候会触发一堆网络请求直接把页面卡住了
image

Reproduction link / 重现链接

No response

Steps to Reproduce the Bug or Issue / 重现步骤

mac和win的新版chrome都会,无痕浏览器下也会这样,应该不是浏览器插件导致的,看上去是个很容易复现的问题

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

@github-actions github-actions bot changed the title 官网切换到5.0版本使用搜索功能会导致页面卡住 Sep 5, 2024
@Aarebecca
Copy link
Contributor

目前已经发现这个问题了,会尽快解决

@resetsix
Copy link

resetsix commented Sep 7, 2024

目前已经发现这个问题了,会尽快解决

是因为build出来全是js文件的原因吗

图片
@Aarebecca
Copy link
Contributor

@resetsix 因为官网使用的 dumi 进行开发,应该是 dumi 升级导致的问题

@resetsix
Copy link

resetsix commented Sep 9, 2024

@resetsix 因为官网使用的 dumi 进行开发,应该是 dumi 升级导致的问题

我昨天拉下源码在本地测试,搜索功能是正常的响应速度很快,也不会发送任何网络请求。

的确没有用过 dumi 来写文档,我看g6 依赖的 dumi 版本也是最新的,所以我不知道为什么 v4 正常但是 v5 不正确。看了下 udmi.ts 配置,确实没有排查的思路。我觉得 docsearchOptions 配置比较可疑,但 dumi 文档没有这个 api 信息。

@Aarebecca
Copy link
Contributor

@resetsix 因为官网使用的 dumi 进行开发,应该是 dumi 升级导致的问题

我昨天拉下源码在本地测试,搜索功能是正常的响应速度很快,也不会发送任何网络请求。

的确没有用过 dumi 来写文档,我看g6 依赖的 dumi 版本也是最新的,所以我不知道为什么 v4 正常但是 v5 不正确。看了下 udmi.ts 配置,确实没有排查的思路。我觉得 docsearchOptions 配置比较可疑,但 dumi 文档没有这个 api 信息。

已经联系 dumi 的开发者修复了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants