Tencent / Tencent/cherry-markdown

[Feature Request] 如果父或以上的 dom 有 transform 属性的话就没法全屏了

Open
#741 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.