Jasonette / Jasonette/JASONETTE-iOS
Centering of components in horizontal layout
- Dominant language
- JavaScript
- Stars
- 5.2k
- Forks
- 347
- PR merge metrics
- No merged PRs in 30d
Description
Test case: https://jasonbase.com/things/A2GK
The first template has as the first item a horizontal layout with space - button - button - space. The idea is to center the buttons. The last space components doesn't render. If I change type from space to label it works as expected pushing the buttons into the center.
Updated the json to be smaller. Also tested on the Jason app, this isn't a regression, it doesn't work on master either.
Contributor guide
Research direction
Start with the linked Jasonbase test case and reproduce the horizontal layout containing space, button, button, and space on the Jason app or master. Trace how horizontal layouts render trailing space components. Done means the final space renders consistently and the two buttons are centered, with the provided smaller JSON still reproducing the corrected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100