paper-swatch-picker icon indicating copy to clipboard operation
paper-swatch-picker copied to clipboard

Flash of the unstyled background for each color paper-item

Open KeithHenry opened this issue 7 years ago • 0 comments

Description

When the colour swatches drop down is opened there is a flash of the background colour.

Expected outcome

The panel should expand without the apparent jank.

Actual outcome

A flash (around 1/5s) of the background colour of the .color menu items appears before being overlaid by the absolutely positioned .color:after.

Live Demo

The issue is observable on the main demo https://www.webcomponents.org/element/PolymerElements/paper-swatch-picker/demo/demo/index.html

Here is a mid transition screenshot from that demo:

flash-of-background

Browsers Affected

Observed in Chrome, not tested yet in all browsers

  • [x] Chrome
  • [ ] Firefox
  • [ ] Safari 9
  • [ ] Safari 8
  • [ ] Safari 7
  • [ ] Edge
  • [ ] IE 11
  • [ ] IE 10

KeithHenry avatar Nov 24 '17 16:11 KeithHenry