Regression in Panel footer button behavior
Please provide a reproduction of the bug in a codepen:
https://codepen.io/anon/pen/oaapVo
Bug Report
- Package version(s): 6.70.0
- Browser and OS versions: Not relevant
Priorities and help requested:
Are you willing to submit a PR to fix? (Yes, No) No
Requested priority: (Blocking, High, Normal, Low) High
Products/sites affected: (if applicable) PowerApps
Describe the issue:
There is a regression in Fabric 6.70.0. The footer buttons on a panel is not sticky at the bottom anymore, comparing to 6.49.4, where it is sticky at the bottom
Actual behavior:
The footer button will be pushed out of viewport if the content area is too tall.
Expected behavior:
As in version 6.49.4, the footer buttons sticks to the bottom.
Something I noticed new in 6.70.0 is that under <div class="ms-Panel-main" /> there is also a <div class="ms-Panel-scrollableContent " /> . In previous version, there was no such element.
I updated the codepen to show the footer at the bottom of the Panel by adding onRenderFooterContent and isFooterAtBottom. Please let me know if there are any issues: https://codepen.io/kkjeer/pen/Reeygj
I can't seem to find a reference to footerButtons in code or on the API reference site. Was this a prop we supported?
👍 to the fix by @kkjeer
I upgraded to 6.92. And the issue is there no more. Looks like something broke in 6.70, then fixed later.
We can close the ticket now. Thanks for the help.
And sorry for having "footerButtons" prop mentioned. I got that part wrong.