docs: clarify editableList resize* callbacks are related to physical size, not item count
まだ誰も着手していません。
評価
- 難易度
- 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分
- マージ済み PR(30日)
- 4
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
node-red/node-red.github.io のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
node-red/node-red.github.io#327 ·
-
docs/getting-started/local.md: npm command line is now deprecated, use --location=global not -g オープン
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
node-red/node-red.github.io#280 · コメント 1 件 ·
-
node-red/node-red.github.io#416 · リアクション 1 件 · 担当者 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
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1414 ·
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·