WICG / eyedropper-api

Other
69 stars 7 forks source link

Eye dropper is not picking correct color when you switch browser tabs #26

Open LarsFlieger opened 2 years ago

LarsFlieger commented 2 years ago

When you open the eyedropper and switch the tab (with shortcut ctrl + NUMBER) the color picker still picks the color of the website where you opened the color picker.

Minimal reproducible example: https://jsfiddle.net/1dmLpeus/

How to reproduce?

  1. Open min. of two tabs.
  2. Click the "Pick color" button
  3. Switch tab with CTRL + 1 (1 => number of tab)

You will see the color picker is still only on the previous website.

OS Information

Chrome 64-Bit Windows
Version 101.0.4951.67