question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Style/background color issue after upgrading chrome to version 81

See original GitHub issue

Wavesurfer.js version(s):

3.3.1 and 3.3.2

Browser and operating system version(s):

Chrome Version 81.0.4044.92 (Official Build) (64-bit) / Windows 10 1909

Code needed to reproduce the issue:

mounted() {
			this.wave = WaveSurfer.create({
				container: this.$refs.waveform,
				waveColor: '#3686c9',
				progressColor: '#C06C84',
				barWidth: 2,
				cursorColor: 'transparent',
			});

			this.wave.load(this.url);

everything was working just fine before chrome updated to 81 last night this is the appearance i’m after, and as you see it works fine on chrome 80, i downgraded to test that it works. image

on chrome 81 when i keep the cursor color set to “transparent”, it doesn’t show any progress color at all. image

if i remove the cursor color as in default or set it to any other color, the whole waveform gets a black background. image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:13

github_iconTop GitHub Comments

4reactions
thijstriemstracommented, Apr 14, 2020

can you see if it’s related to this commit: https://github.com/katspaugh/wavesurfer.js/commit/d0187a9533d9492e950e31cd547583293e6a241a

try setting the drawingContextAttributes.desynchronized option to false:

drawingContextAttributes: {
             // Boolean that hints the user agent to reduce the latency
             // by desynchronizing the canvas paint cycle from the event
             // loop
             desynchronized: false
},
1reaction
karolpiczakcommented, Apr 14, 2020

Switching off desynchronized painting seems to fix the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome 83: Change colors of new form styling - Stack Overflow
According to the post I would say it should be possible to change this form theme to match the color set of a...
Read more >
CSS background-color not honored in disabled SELECT ...
Issue 100234: CSS background-color not honored in disabled SELECT element. Reported by schedule slumb...@gmail.com slumb. ... Chrome Version : 14.0.835.202
Read more >
Google Issues 'Critical' Update Warning For Chrome Users
Picked up by security specialist Sophos, Google has quietly issued a warning that Chrome has discovered a new security flaw across Windows, Mac ......
Read more >
What's New In DevTools (Chrome 108)
In the Styles pane, DevTools fades out the inactive properties. Hover over the icon next to it to understand why the rule has...
Read more >
Address bar has mysteriously gained a black background ...
Not sure if it will be the same for you, but it wasn't Chrome causing it for me. It was my Windows 10...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found