Skip to content

Suggested actions with word wrap and max height is off on macOS Safari #3763

Open
@compulim

Description

@compulim

Screenshots

This is on macOS Safari.

image

This is on Windows with Edge/Chrome.

image

This is on IE11.

image

Version

R12 candidate.

Describe the bug

Given the following style options are set, if the content of the suggested actions is larger than the button itself, it display differently between Edge/Chrome and macOS Safari.

suggestedActionLayout: 'stacked',
suggestedActionHeight: 40,
suggestedActionsStackedLayoutButtonTextWrap: true,
suggestedActionsStackedLayoutButtonMaxHeight: 55

Steps to reproduce

  1. Go to https://corinagum.github.io/WebChat-release-testing/01.create-react-app/index.html?customization=suggested-actions-multiple-lines&buttonHeight=true

Expected behavior

Suggested actions on all platforms should appears the same.

Additional context

[Bug]

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogOut of scope for the current iteration but it will be evaluated in a future release.bugIndicates an unexpected problem or an unintended behavior.front-burnerp2Nice to have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions