ACF Block v3 expanded editor fields disappear when viewport is resized to 782px or below
还没有人认领这个 Issue。
评估
调研方向
在区块编辑器中使用通过 acf_register_block_type() 或 block.json 注册的 ACF Block v3 重现该问题,然后在调整大小至 782px 或更小时检查 .acf-modal-block-form-container。调整大小后,展开的编辑器字段仍保持可见且可用,无需关闭并重新打开编辑器,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
With WordPress 7.1 and ACF PRO 6.8.9, the fields in an ACF Block v3 expanded editor do not display when the browser viewport is 782px wide or below. The modal header remains visible, but .acf-modal-block-form-container becomes empty with a height of 0.
To Reproduce
Steps to reproduce the behavior:
- Using a classic or block WordPress theme with WordPress 7.1 and ACF PRO 6.8.9, register an ACF Block v3 using either acf_register_block_type() or the block.json method.
- Open the block editor and add the ACF block.
- Open the block’s expanded editor.
- Resize the browser window to 782px wide or below.
- Observe that the editor fields disappear while the modal header remains visible.
- Close and reopen the expanded editor and observe that the fields reappear.
Expected behavior
The expanded editor fields should remain visible and functional when the browser viewport is resized to 782px wide or below.
Screenshots or Video
Version Information:
- WordPress 7.1
- ACF Pro 6.8.9
- PHP 8.4
- Chrome 151.0.7922.174 and Firefox 154.0.1
- macOS 15.7.3
- 主要语言
- PHP
- 星标
- 946
- 派生
- 197
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AdvancedCustomFields/acf 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
AdvancedCustomFields/acf#1041 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
AdvancedCustomFields/acf#1038 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
AdvancedCustomFields/acf#1034 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
AdvancedCustomFields/acf#1032 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
AdvancedCustomFields/acf#1029 · 1 条评论 ·
查看 AdvancedCustomFields/acf 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
UX
难度 2/5 1-3 小时 新手友好度 72/100
ProfessionalWiki/NeoWiki#1573 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
endoflife-date/endoflife.date#11194 ·
维护者通常 1 天内回复