ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
93.39k stars 51.04k forks source link

Add Focus on Color Picker Label #52623

Open LucPMF opened 1 week ago

LucPMF commented 1 week ago

What problem does this feature solve?

Currently, the Color Picker component does not focus when the user clicks on its label. This means that the user has to click again to focus on this component. The label is inherited from Ant's form component. Additionally, the Color Picker behaves differently from other components.

What does the proposed API look like?

As a simple input, the Color Picker should focus when clicking on its label.

petercat-assistant[bot] commented 1 week ago

This feature request suggests that the Color Picker component in Ant Design should focus when the user clicks on its label, similar to how other input components behave. This would enhance user experience by reducing the need for additional clicks to focus on the component.

Your request has been noted and will be considered for future updates. If you have any other questions or need further assistance, feel free to ask!

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.