-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Suggested Actions container height is not flexible #3444
Copy link
Copy link
Closed
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.customer-replied-toRequired for internal reporting. Do not delete.Required for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.Required for internal Azure reporting. Do not delete.
Milestone
Metadata
Metadata
Assignees
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.customer-replied-toRequired for internal reporting. Do not delete.Required for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.Required for internal Azure reporting. Do not delete.
I tried using the new style options to set height and overflow for the suggested actions container. It's always fixed height whereas we want it to be flexible so that max-height is what we want to set. The height should fit the content if the container have few buttons and doesn't overflow
styleOptions={{
botAvatarInitials: true,
userAvatarInitials: true,
suggestedActionBackground: 'White',
suggestedActionBorder: 0,
suggestedActionBorderRadius: 4,
suggestedActionBorderStyle: 'solid',
suggestedActionBorderWidth: 1,
suggestedActionHeight: 32,
suggestedActionLayout: 'stacked',
suggestedActionsStackedHeight: '50vh',
suggestedActionsStackedOverflow: 'auto'
}}
Screenshots
Version
Describe the bug
Steps to reproduce
Expected behavior
Additional context
[Bug]