docs: clarify editableList resize* callbacks are related to physical size, not item count
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 42/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
调研方向
从 issue 中链接的 editableList resize 选项文档开始,并查看相关的论坛讨论。明确 resize() 和 resizeItem() 回调涉及的是物理尺寸,而不是项目数量;当其与 issue 和论坛帖子中所描述的已确认行为一致时,即可认为文档中描述的行为已经完整。
由索引模型根据 Issue 内容生成。
描述
Current Behavior
It appears that the resize() and resizeItem() callbacks on editableList do not get called as they should when an item is added or removed from the list, unless I am misunderstanding the docs.
resize() does get called when the node dialog is initially opened, but not thereafter and resizeItem seems never to be called at all.
I have not attempted to use them before so don't know whether they have ever worked.
See also forum post https://discourse.nodered.org/t/problem-with-editablelist-resize-callback/88263 where @marcus-j-davies confirms the behaviour (of resize at least).
Expected Behavior
No response
Steps To Reproduce
No response
Example flow
paste your flow here
Environment
- Node-RED version: 3.1.9 and 4.0.0-beta.3
- Node.js version: 20.5.1
- npm version:
- Platform/OS:
- Browser: Edge on Ubuntu
- 主要语言
- JavaScript
- 星标
- 118
- 派生
- 161
- 平均合并
- 8 小时 18 分钟
- 30 天内合并 PR
- 4
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
node-red/node-red.github.io 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
node-red/node-red.github.io#327 ·
-
难度 1/5 1 小时以内 新手友好度 62/100
node-red/node-red.github.io#280 · 1 条评论 ·
-
node-red/node-red.github.io#416 · 1 个 reaction · 已指派 1 人 ·
-
难度 1/5 1-3 小时 新手友好度 50/100
node-red/node-red.github.io#384 ·
-
node-red/node-red.github.io#382 · 1 条评论 · 已指派 1 人 ·
查看 node-red/node-red.github.io 的全部 Issue
相似的 Issue
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
georgestephanis/p2026#40 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·