alexed1 / LightningFlowComponents

A collection of unofficial Flow extensions that can be used to enhance Salesforce Flow and Orchestrator.
http://unofficialsf.com
Other
586 stars 577 forks source link

*QuickChoice* - Visual Cards - SLDS icons of type action is not displayed properly #1436

Open ehsky opened 1 year ago

ehsky commented 1 year ago

Steps to reproduce

Steps to reproduce the behaviour:

  1. Add the Quick Choice component to a screen in a screen flow
  2. Set the following metadata settings on the component:
    • Display the choices as: Visual Cards
    • Number of columns: 2
    • Show icons: TRUE
    • Display Columns as same height: TRUE
    • Use Rich text for Description: TRUE or FALSE
    • Icon Size (tested): x-small, medium or large
    • Choice Icons: String collection = [action:approval, action:close]
  3. Set other required fields and debug your flow

Expected behaviour

Expect that the icon is centred in the left column and that the complete image is displayed. The expected is achieved with utility icons. E.g [utility:check, utility:clear]

Actual behaviour

Icon is cut of and icon is not centred. The size that is cut of is not consisted when setting different iconSizes.

Screenshots

Not working example: Visual Cards with action icons with iconSize large. Screenshot 2023-07-17 at 17 14 55

Not working example: Visual Cards with action icons with iconSize x-small. Screenshot 2023-07-17 at 17 22 25

Working example: Visual card with utility icons Screenshot 2023-07-17 at 17 13 23

ericrsmith35 commented 1 year ago

This is a known issue with no current resolution.