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

[Post 4.10.1] Fix suggested actions maxHeight #3456

Merged
merged 6 commits into from
Sep 11, 2020

Conversation

corinagum
Copy link
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
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.

packages/component/src/Styles/StyleSet/SuggestedActions.js Outdated Show resolved Hide resolved
@compulim compulim changed the title Fix suggested actions maxHeight [Post 4.10.1] Fix suggested actions maxHeight Sep 8, 2020
@compulim
Copy link
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