Calcite-components: [slider] focus outline easily overlaps surrounding elements

Created on 19 Jun 2020  路  3Comments  路  Source: Esri/calcite-components

Is it by design that the slider's thumb outline extends way beyond size? It's very noticeable when placed on a panel or has sibling elements:

Screen Shot 2020-06-18 at 5 26 37 PM

Screen Shot 2020-06-18 at 5 26 31 PM

Related a11y question, is the outline necessary if the thumb has a focus state?

cc @paulcpederson @macandcheese @eriklharper

question

All 3 comments

I believe in @eriklharper 's latest PR the size was reduced a good amount while still giving a little extra hitbox area to prevent misclicks / larger tap area for touch screens.

Correct. It looks like this now
image

Excellent. I can close this once it's installed. Thanks!

Was this page helpful?
0 / 5 - 0 ratings