Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html2canvas fails to support CSS function color-mix, causing shareHabit functionality to break #1

Open
iNikAnn opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@iNikAnn
Copy link
Owner

iNikAnn commented Oct 8, 2024

Problem Description

The Habit component retrieves a color palette from the getColorPalette function, which returns an object of colors that utilize the color-mix function. However, when attempting to use the share functionality that relies on the html2canvas library to create an image from the Habit component, it fails due to the library not supporting the color-mix CSS function.

Steps to Reproduce

  1. Click on any habit from the list.
  2. In the menu, click the "Share Habit" button.
  3. Observe the error that appears in the console.

Expected Behavior

html2canvas should create an image that can be shared using the Web Share API.

Additional Information

  • Application version: 0.15.1
  • html2canvas version: 1.4.1
@iNikAnn iNikAnn added the bug Something isn't working label Oct 8, 2024
@iNikAnn iNikAnn self-assigned this Oct 8, 2024
@iNikAnn iNikAnn added the good first issue Good for newcomers label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant