ant-design / ant-design/cssinjs
bug: StyleProvider container config not work
Open
- Dominant language
- TypeScript
- Stars
- 287
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
官方 Demo https://ant-design.github.io/antd-style/zh-CN/api/style-provider#%E4%BF%AE%E6%94%B9-container 就没有生效
看了下样式依然在 head 中:

Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the official StyleProvider container configuration demo at the linked documentation URL and inspect where the generated styles are inserted. The issue is done when the configured container receives the styles instead of them remaining in the document head.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100