Firefox overrides break native-reference-wrapper-style
还没有人认领这个 Issue。
评估
调研方向
检查 Firefox overrides 和 native-reference-wrapper-style 配置,然后在 re-frame-10x 视图中复现该问题。确定 override 应保留原生 wrapper 的定位方式,还是扩展默认值;当 panel 在 Firefox 中正确渲染且子元素背景不会填满 panel 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
It took me a while to figure out why in the re-frame-10x view of my Re-frame data, from a certain point in time, the panel gets largely erased, looking as follows (the right half of the screenshot is the panel):
Having grepped through the code of that library and then of cljs-devtools, I figured out the Firefox overrides are apparently to blame -- causing this "native reference wrapper" to lose its "position: relative" style, which in turn results in its first child (effectively "position: absolute; inset: 1px", as defined by get-inner-background-style) to take much more space than intended. In the context of the Re-frame-10x debugging panel, it grows to fill the entire panel with its white background.
Indeed, in Chromium, the Re-frame-10x panel works fine:
I can imagine two reasonable solutions:
- Add the "position: relative" specification (and maybe "display: inline-flex", too?) also to the native-reference-wrapper-style config in the Firefox overrides.
- Make the CSS values specified in the overrides extend the defaults instead of replacing them.
I don't know enough about why the overrides are configured as they are currently configured, so I am also not sure which would be the right way to proceed. For now, I will try to patch this bug in my user config.
- 主要语言
- Clojure
- 星标
- 1.1k
- 派生
- 51
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
binaryage/cljs-devtools 的其他 Issue
-
ROOK 未关闭
难度 5/5 一周以上 新手友好度 5/100
binaryage/cljs-devtools#82 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 48/100
binaryage/cljs-devtools#80 ·
-
难度 4/5 3-5 天 新手友好度 35/100
binaryage/cljs-devtools#79 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
binaryage/cljs-devtools#76 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
binaryage/cljs-devtools#71 · 1 条评论 · 3 个 reaction ·
查看 binaryage/cljs-devtools 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
clojure-emacs/cider#4203 ·
-
.Team/QueryingPlatform Priority:P2
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
clj-commons/antq#329 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 1/5 1 小时以内 新手友好度 90/100