microsoft / microsoft/BotFramework-WebChat

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

Open
#3,763 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

backlog bug front-burner p2
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

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]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided reproduction URL and the suggested-action style options in the issue, comparing macOS Safari with Edge/Chrome and IE11. The work is done when stacked suggested actions with wrapped text and the stated height limits render consistently across the reported browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.