Page Header reverseOrder does not update until window is resized
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
## Summary of the bug
Page Header reverseOrder does not update until window is resized, it should update if the value is changed
## 🪜 How to reproduce
Tell us the steps to reproduce the problem:
1. Go to PageHeader Storybook
2. Update reverseOrder to true
3. Notice how the order of the Buttons does not change
4. Resize the window
5. Notice how the order of the Buttons now does change, to the reverseOrder intended
## 🧐 Expected behaviour
ReverseOrder should work without needing to resize the window
Contributor guide
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
Start with the PageHeader Storybook reproduction and inspect how changing the reverseOrder value is handled compared with the window-resize path. Confirm that updating reverseOrder immediately changes the Button order without resizing, then verify the behavior again through the documented reproduction steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100