Frontmatter
| id | 5273 |
| title | list.Base: focus outlines are getting cut off |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Feb 29, 2024, 11:10 AM |
| updatedAt | Feb 29, 2024, 1:01 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5273 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 29, 2024, 11:19 AM |
list.Base: focus outlines are getting cut off
tobiu assigned to @tobiu on Feb 29, 2024, 11:10 AM

tobiu
Feb 29, 2024, 11:19 AM
added a new theme var to make it configurable: --list-item-focus-outline-offset
tobiu closed this issue on Feb 29, 2024, 11:19 AM

mxmrtns
Feb 29, 2024, 1:01 PM
@tobiu This feels very much like a hack to me. I would rather add a padding with focus-outline-width. On the other hand can you put a number to what are the implications if we would get rid of overflow hidden? Like in ms?
@ExtAnimal @mxmrtns
the easiest solution for now is using
outline-offset: -1px;.we can create a follow-up ticket to discuss about other options (like removing
overflow: hidden). however, this would be expensive regarding browser reflow OPs.