question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support disable fixTwoCNChar check in button

See original GitHub issue
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

https://github.com/ant-design/ant-design/blob/bbf5cb75c311ee5bdf4a7c198719d70acb0fff64/components/button/button.tsx#L124 fixTwoCNChar Check in button is causing performance issue when putting a lot of button on the same page. And our designer doesn’t enforce space between two Chinese char.

What does the proposed API look like?

add disableFixTwoCNCharCheck prop to Button component

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
afc163commented, Feb 5, 2019
0reactions
stonehankcommented, Jun 5, 2018

@whtsky Indeed, the issue had opened more than one month early, may be you can try PR~

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to check a button is disabled using Cypress
The Cypress documentation shows examples how you can use should() to verify elements are enabled/disabled: https ...
Read more >
How to enable or disable the Next button by check box?
If the user checks the checkbox (not radio button), next button will be enabled; otherwise it will be disabled. My code: if CheckBox.Checked...
Read more >
e4e130b3661e65331f30f24eedf...
button ';\nexport default Button;","var START_EVENT_NAME_MAP = {\n ... isNotGrey(color) {\n // eslint-disable-next-line no-useless-escape\n var match ...
Read more >
button ant design - Monday is Okay
Optimize your button designs with rich hover or interactions effects. Modal dialogs. ... Including data collection, verification, and styles.
Read more >
ASPxButton - How to check if a button is enabled on ...
Hello I'm using some buttons in my application and when a page is loaded i would like to disable some buttons.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found