You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
Create a modal with two custom action buttons.
Add a href to the second button.
footer={[<Buttonkey="back"onClick={this.handleCancel}>
Return
</Button>,<Buttonkey="submit"href="google.com"// <- This breaks the spacingtype="primary"loading={loading}onClick={this.handleOk}>
Submit
</Button>]}
What is expected?
The same spacing between the action buttons when not using a href.
What is actually happening?
There is no space between the buttons when using a href.
Environment
Info
antd
4.13.1
React
17.0.1
System
Mac OS BigSur
Browser
Google Chrome - Version 88.0.4324.192 (Official Build) (x86_64)
The text was updated successfully, but these errors were encountered:
afc163
added
the
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
label
Mar 8, 2021
Hello @acidic9. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to proper branch (feature branch for the new feature, master for bugfix and other changes), fill the Pull Request Template here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!
Reproduction link
Steps to reproduce
Create a modal with two custom action buttons.
Add a href to the second button.
What is expected?
The same spacing between the action buttons when not using a href.
What is actually happening?
There is no space between the buttons when using a href.
The text was updated successfully, but these errors were encountered: