paper-badge icon indicating copy to clipboard operation
paper-badge copied to clipboard

paper-badge with a standalone variant

Open hitesh153 opened this issue 6 years ago • 0 comments

Description

We are building a small POC and wanted to use paper-badge as a standalone entity not positioning itself as per any target of parent element. However, if I remove the "for" attribute it takes the parentElement and aligns to top-right, which again can be solved by overwriting the logic for updatePosition().

The badges, are coming overlapped on top of each other if same parent has more than one badge

Was looking for a way to use badges as standalone components.

Steps to reproduce

Add multiple badges without specifying the for attribute. Overwrite the current paper-badge updatePostion to code to assign potion only when for is specified by the integrating page

hitesh153 avatar Apr 19 '18 11:04 hitesh153