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

[Radio] variant="primary-filled"会卡死 #3359

Closed
tingtingcheng6 opened this issue Feb 6, 2025 · 6 comments
Closed

[Radio] variant="primary-filled"会卡死 #3359

tingtingcheng6 opened this issue Feb 6, 2025 · 6 comments
Labels
example Something about example react19 to be published fixed, not be published

Comments

@tingtingcheng6
Copy link
Contributor

tdesign-react 版本

1.10.5

重现链接

No response

重现步骤

<Radio.Group
  variant="primary-filled"
  options={['a', 'b']}
/>

期望结果

不卡死

实际结果

卡死

框架版本

19.0.0

浏览器版本

No response

系统版本

No response

Node版本

v18.19.0

补充说明

No response

Copy link
Contributor

github-actions bot commented Feb 6, 2025

👋 @tingtingcheng6,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@HaixingOoO HaixingOoO added the need more info 需要更多信息理解 issue 的问题 label Feb 11, 2025
@HaixingOoO
Copy link
Collaborator

暂时没复现出你说的问题,可以的话提供个例子时卡死的

@HaixingOoO HaixingOoO added the example Something about example label Feb 11, 2025
@huangchen1031
Copy link
Collaborator

暂时没复现出你说的问题,可以的话提供个例子时卡死的

React升级到19就会RadioGroup就会死循环。。。是useMutationObservable导致的,下面两个属性任意屏蔽一个就不会出现了。。。
并不是很了解React19修改了什么更新机制。。。

Image

@uyarn uyarn added to be published fixed, not be published react19 and removed need more info 需要更多信息理解 issue 的问题 labels Feb 12, 2025
@csywweb
Copy link

csywweb commented Feb 13, 2025

variant="default-filled"这个属性也这样,现在已经修复了吗?

@uyarn
Copy link
Collaborator

uyarn commented Feb 13, 2025

暂时没复现出你说的问题,可以的话提供个例子时卡死的

React升级到19就会RadioGroup就会死循环。。。是useMutationObservable导致的,下面两个属性任意屏蔽一个就不会出现了。。。 并不是很了解React19修改了什么更新机制。。。

Image

facebook/react#32346

@uyarn
Copy link
Collaborator

uyarn commented Feb 20, 2025

fixed 1.11.0

@uyarn uyarn closed this as completed Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example Something about example react19 to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

5 participants