ant-design / ant-design/cssinjs

bug: StyleProvider container config not work

Open
#185 1 comment 1 reaction 0 assignees View on GitHub
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 中:

![image](https://github.com/ant-design/cssinjs/assets/1061968/27993866-e27a-4323-996d-eae82012d94d)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.