ant-design / ant-design/pro-components

🧐[问题] QueryFilter组件 findDOMNode is deprecated and will be removed in the next major release

Open
#8,685 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

🧐 问题findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference
💻 示例代码

![image](https://github.com/user-attachments/assets/591f5f54-6911-45df-951f-b76f68f35294)

Contributor guide

Open the contributing guide

Research direction

Start by tracing the QueryFilter component with the provided ProFormDateRangePicker and ProFormSelect example, then locate where the deprecation warning originates. Done means the example no longer triggers the findDOMNode warning and the affected controls still work correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.