Skip to content

Commit

Permalink
(web components) fix cursor issue text field (microsoft#20445)
Browse files Browse the repository at this point in the history
* change input state styles to fix height and prevent z-index from blocking cursor

* Change files

* oopsie copy paste
  • Loading branch information
chrisdholt authored and Marion Le Pontois committed Jan 17, 2022
1 parent 84cbef0 commit 80a964d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "change input state styles to fix height and prevent z-index from blocking cursor",
"packageName": "@fluentui/web-components",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export const inputStateStyles: (
:host(:not([disabled]):focus-within:not(:active))::after {
content: '';
position: absolute;
height: 100%;
height: calc(${focusStrokeWidth} * 1px);
bottom: 0;
border-bottom: calc(${focusStrokeWidth} * 1px) solid ${accentFillRest};
border-bottom-left-radius: calc(${controlCornerRadius} * 1px);
Expand Down

0 comments on commit 80a964d

Please sign in to comment.