angular-star-rating icon indicating copy to clipboard operation
angular-star-rating copied to clipboard

How to disable tabindex? A rect focused border is annoying

Open pipoa opened this issue 6 years ago • 4 comments

I'm submitting a...


[ ] Bug report  
[X] Feature request

Current behavior

When click, tabindex makes rating component focused and having a rect around.

Expected behavior

show without tabindex attribute in inner Div tag

pipoa avatar Feb 20 '19 15:02 pipoa

Even when the star component is clicked the blue rect comes, it is really annoying.

anidotnet avatar Jun 07 '19 12:06 anidotnet

@pipoa @anidotnet You can remove the blue box whilst retaining the tab index (probably the desired result) by adding the following to the scss of the component which uses the star-rating:

 /deep/ star-rating div#rating {
    outline: none;
  }

Recodify avatar Jun 30 '19 09:06 Recodify

Noticed the same and almost walked from the demo. Should this not be part of the core package already?

It cant be a feature... its not for screen readers... so....?

Tyler-V avatar Sep 11 '20 13:09 Tyler-V

Just put on you styles.scss the following

.rating { outline: none; }

T4SUYA avatar Oct 23 '20 20:10 T4SUYA