Tencent / Tencent/cherry-markdown
[Feature Request] 如果父或以上的 dom 有 transform 属性的话就没法全屏了
Open
Nobody has claimed this yet.
🚀enhancement
- Dominant language
- JavaScript
- Stars
- 4.9k
- Forks
- 572
- Avg merge
- 17h 5m
- Merged PRs (30d)
- 14
Description
Prerequisites
- There isn't an existing issue that requests the same feature, to avoid duplicates.
Clear and concise description of the problem
如果父或以上的 dom 有 transform 属性的话就没法全屏了
Suggested solution
如果能拿到 全屏状态,用户就可以去设置 上级 dom 的 transform,来实现全屏
方案建议:
- 用户能拿到“全屏”的状态
- 可以直接在toolbar尝试添加一个触发监听,返回key
Further Information
No response
Contributing
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies the toolbar as the entry point but names no source files or tests. Start by tracing the toolbar's fullscreen trigger and browser fullscreen state handling; define how fullscreen status and a listener key should be exposed, then verify that consumers can respond when an ancestor has a transform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100