mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
19 stars 22 forks source link

Page Header reverseOrder does not update until window is resized #2047

Open MI6-255 opened 1 week ago

MI6-255 commented 1 week ago

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