kepler.gl
kepler.gl copied to clipboard
[Bug][Firefox] Additive layer blending results in wrong colour in image export
Describe the bug When using the layer blending mode as "additive", going on "Share > Export Image" will sometimes result in the wrong colours in Firefox. Tried with Chrome and I was able to get a successful export each time.
For example, pink becomes purple and blue becomes green.
To Reproduce Steps to reproduce the behaviour:
- Upload a CSV file with point data in Firefox
- Set blending mode to additive
- Export the image
Expected behaviour Exports with the correct colours.
Screenshots
Desktop (please complete the following information):
- OS: Windows
- Browser: Firefox
- Version: 128
Tracked it to
src/utils/src/dom-to-image.ts:198
I found that the Red color component of result dots differs in Firefox and Chrome. Green and Blue are the same. I can assume this is some Firefox bug.