Automatically set `LayoutOrder` when it's not specified by host instance props
未關閉
還沒有人認領這個 Issue。
enhancement
good first issue
- 主要語言
- Luau
- 星號
- 569
- 分支
- 25
- PR 合併指標
- 30 天內沒有已合併 PR
描述
As flex layout rolls out across Roblox, setting LayoutOrder on every single UI element is going to get quite cumbersome. Solutions like createNextOrder exist but are still quite verbose. Ideally, ReactRoblox would support setting this property for relevant instances when it's not specified by the developer.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
該 issue 提到了 ReactRoblox 的 host instance props、LayoutOrder 和現有的 createNextOrder 方法,但沒有提供檔案或測試。首先定位 ReactRoblox 的 host-prop 處理邏輯,並確定哪些 instance 以及預設值規則屬於範圍;當未指定的 LayoutOrder 值能夠被指派,且不會覆寫開發者提供的值時,工作即完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- lua, react
- 領域
- frontend
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100