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

ConfigProvider 的 theme.components 超过一定数量的组件开启算法,会导致 flatternToken 内递归的 str 字符串长度超过浏览器限制(2^29)从而导致页面崩溃 #48386

Closed
ifmos opened this issue Apr 10, 2024 · 1 comment · Fixed by ant-design/cssinjs#183
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@ifmos
Copy link

ifmos commented Apr 10, 2024

Reproduction link

Edit on StackBlitz

Steps to reproduce

打开链接即必现

What is expected?

可以正常使用

What is actually happening?

页面崩溃

Environment Info
antd 5.16.1
React 18.2.0
System macOS Monterey 12.3.1
Browser Microsoft Edge 123.0.2420.81 (正式版本) (x86_64)
Copy link

stackblitz bot commented Apr 10, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@ifmos ifmos changed the title ConfigProvider 的 theme.components 超过一定数量的组件开启算法,会导致 flatternToken 里的 str 字符串长度超过浏览器限制(2^29)从而导致浏览器崩溃 ConfigProvider 的 theme.components 超过一定数量的组件开启算法,会导致 flatternToken 内递归的 str 字符串长度超过浏览器限制(2^29)从而导致页面崩溃 Apr 10, 2024
@zombieJ zombieJ added 🐛 Bug Ant Design Team had proved that this is a bug. and removed unconfirmed labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants