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

Corrupted primary button default style in a dropdown menu #38655

Closed
acailly opened this issue Nov 17, 2022 · 2 comments · Fixed by #38870
Closed

Corrupted primary button default style in a dropdown menu #38655

acailly opened this issue Nov 17, 2022 · 2 comments · Fixed by #38870
Assignees
Labels
4.x In Ant Design 4.0 5.x 🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@acailly
Copy link

acailly commented Nov 17, 2022

Reproduction link

Edit on CodeSandbox

Steps to reproduce

add a modal in a dropdown menu

What is expected?

only ant-btn ant-btn-primary styles are applied to a primary button in the footer

What is actually happening?

ant-btn ant-btn-primary ant-btn-lg ant-btn-compact-item ant-btn-compact-last-item styles are applied to a primary button in the footer

Environment Info
antd 4.24.1
React 18.2.0
System Windows 10
Browser Firefox 106.0.3 (64-bit)
@afc163
Copy link
Member

afc163 commented Nov 21, 2022

@foryuki

@foryuki
Copy link
Contributor

foryuki commented Nov 22, 2022

正在处理中,主要是 Space.Compact context 未做阻断。

@vagusX vagusX added 🐛 Bug Ant Design Team had proved that this is a bug. 4.x In Ant Design 4.0 5.x labels Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x In Ant Design 4.0 5.x 🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants