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

Cursor auto for disabled mode

Open ystreibel opened this issue 9 years ago • 3 comments

Hi,

We try to use paper-icon-button on paper-toolbar. We had a text cursor when the paper-icon-button was disabled but it remains as a text cursor when we overlay closest enabled paper-icon-button.

This css properties might be in conflict with enabled paper-icon-button :

:host([disabled]) {
      color: var(--paper-icon-button-disabled-text, #fff);
      pointer-events: none;
      cursor: auto;
      @apply(--paper-icon-button-disabled);
}

ystreibel avatar May 28 '15 16:05 ystreibel

Thanks for reporting. I will look into it. Can you give me a specific example of the style usage that was getting overridden?

cdata avatar May 29 '15 16:05 cdata

Hi, When I clic on undo/redo button, the pointer change from hand to pointer. More other, like a said previosly, when the cursor is text and I fly over the paper-icon-button, it could change to hand. this is my demo page http://ystreibel.github.io/my-toolbar/components/my-toolbar/demo/

ystreibel avatar Jun 01 '15 08:06 ystreibel

Seems to be a bug; here's a demo with repro steps: http://jsbin.com/hayeju/edit?html. This may be happening because we're setting pointer-events: none

notwaldorf avatar Jan 27 '16 00:01 notwaldorf