Automatically set `LayoutOrder` when it's not specified by host instance props
Nobody has claimed this yet.
- Dominant language
- Luau
- Stars
- 569
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names ReactRoblox host instance props, LayoutOrder, and the existing createNextOrder approach, but no files or tests. Start by locating ReactRoblox's host-prop handling and determine which instances and defaulting rules are in scope; the work is done when unspecified LayoutOrder values are assigned without overriding developer-provided values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100