Skip to content

[Post 4.10.1] Fix suggested actions maxHeight#3456

Merged
corinagum merged 6 commits intomicrosoft:masterfrom
corinagum:3444
Sep 11, 2020
Merged

[Post 4.10.1] Fix suggested actions maxHeight#3456
corinagum merged 6 commits intomicrosoft:masterfrom
corinagum:3444

Conversation

@corinagum
Copy link
Copy Markdown
Contributor

Fixes #3444

Changelog Entry

  • Fixes #3444. Make suggested actions container height styleOption flexible, by @corinagum in PR #XXX

Description

Suggested Actions height was set to static, causing issues if assigned height was different than stacked height of all buttons. This fixes the height style option to be assigned to maxHeight

Design

  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

Copy link
Copy Markdown
Contributor

@compulim compulim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for testing corner cases.

Comment thread packages/component/src/Styles/StyleSet/SuggestedActions.js Outdated
@compulim compulim changed the title Fix suggested actions maxHeight [Post 4.10.1] Fix suggested actions maxHeight Sep 8, 2020
@compulim
Copy link
Copy Markdown
Contributor

compulim commented Sep 8, 2020

Please don't merge until after 4.10.1. 🙏🏻

@corinagum corinagum merged commit 681e8b7 into microsoft:master Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggested Actions container height is not flexible

2 participants