mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
parent
d158bc1f8c
commit
58128c403e
5
.changeset/slow-gifts-guess.md
Normal file
5
.changeset/slow-gifts-guess.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@heroui/input": patch
|
||||
---
|
||||
|
||||
fix a small eye icon for password input in edge browser(#4927)
|
||||
@ -376,7 +376,12 @@ export function useInput<T extends HTMLInputElement | HTMLTextAreaElement = HTML
|
||||
"data-has-start-content": dataAttr(hasStartContent),
|
||||
"data-has-end-content": dataAttr(!!endContent),
|
||||
className: slots.input({
|
||||
class: clsx(classNames?.input, isFilled ? "is-filled" : "", isMultiline ? "pe-0" : ""),
|
||||
class: clsx(
|
||||
classNames?.input,
|
||||
isFilled ? "is-filled" : "",
|
||||
isMultiline ? "pe-0" : "",
|
||||
type === "password" ? "[&::-ms-reveal]:hidden" : "",
|
||||
),
|
||||
}),
|
||||
...mergeProps(
|
||||
focusProps,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user