salesforce / salesforce/design-system-react

Popover classNameFooter prop is not respected when footerWalkthroughActions is specified

Open
#2,744 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

popover stale
Dominant language
JavaScript
Stars
982
Forks
440
Avg merge
1d 21h
Merged PRs (30d)
4

Description

For a popover, specify both footerWalkthroughActions and classNameFooter. classNameFooter is not added as a class name to the .slds-popover__footer element, as the prop description says it does.

Popover without any special class name on the footer element:
Screen Shot 2021-01-22 at 4 49 12 PM

Code, which species the classNameFooter:
Screen Shot 2021-01-22 at 4 49 26 PM

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 by locating the Popover component and its handling of the footerWalkthroughActions and classNameFooter props. Reproduce the issue with both props, then verify the .slds-popover__footer element receives the requested class and add or update a regression test if the project has coverage for this behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.