Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IconAlignment cannot be used to infer collapsibility #1168

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

mmi-wp
Copy link
Contributor

@mmi-wp mmi-wp commented Apr 25, 2023

We can't rely on the IconAlignment property to figure out if the section is collapsible, because enabling and then disabling collapsiblity on a section will retain a value for the IconAlignment. Instead, look at the section type to figure out if the section should be expandable.

…ion is collapsible, because enabling and then disabling collapsiblity will retain a value for the IconAlignment. Instead, look at the section type to figure out if the section should be expandable.
@jansenbe jansenbe self-assigned this Apr 25, 2023
@jansenbe jansenbe added the area: pages API 📄 Working with modern pages label Apr 25, 2023
@jansenbe
Copy link
Contributor

@mmi-wp : thanks for this and the other PR's, good fixes!

jansenbe added a commit that referenced this pull request Apr 26, 2023
@jansenbe jansenbe merged commit b51bab9 into pnp:dev Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: pages API 📄 Working with modern pages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants