microsoft / microsoft/SandDance

[bug] backgroundColor doesn't apply globally for **some** colors

Open
#619 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
7.1k
Forks
573
Avg merge
8d 9h
Merged PRs (30d)
4

Description

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Expected Behavior

backgroundColor should modify all canvas background-color?

Current Behavior

It doesn't seem to work as shown in the screenshot below.

For black and blue, everything is... black and blue.
However, for #151515, you can see a graph greyish background, whereas backgroundColor is indeed #151515.

example

Steps to Reproduce

  1. Clone public repo: https://github.com/charnould/sanddance-bug-1.git
  2. Open index.html with Liver-server to avoid CORS issue
  3. Modify backgroundColor accordingly
  4. See that current behavior is accurate --> That's the bug.

Expected result

For #151515, everything should be #151515.

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the issue from the linked repository by opening index.html with Liver-server and changing backgroundColor. Compare the canvas for black, blue, and #151515, then trace where those settings are applied. Done means every canvas background uses the configured #151515 color.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.