nextui icon indicating copy to clipboard operation
nextui copied to clipboard

Disabled `<Input/>` autofill highlighting.

Open psyirius opened this issue 2 years ago • 3 comments

Closes: The issue mentioned below.

📝 Description

This PR disables the highlighting from the user-agent-stylesheet of browser's like chrome for input element's autofill.

⛳️ Current behavior (updates)

https://nextui.org/docs/components/input#clearable

🚀 New behavior

http://localhost:6006/?path=/story/general-input--password (of-fixed-sb)

💣 Is this a breaking change (Yes/No):

AFAIK, No!

📝 Additional Information

Not sure if this will bring any security issues that the browsers intended prevent with some strict highlighting. But anyway it was annoying to see a boxy-rectangle covers the text where the whole experience is curvy-fluid. Thus this PR!

psyirius avatar Aug 19 '22 15:08 psyirius

@psyirius is attempting to deploy a commit to the NextUI Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 19 '22 15:08 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nextui-storybook ✅ Ready (Inspect) Visit Preview Nov 6, 2022 at 6:45PM (UTC)

vercel[bot] avatar Aug 19 '22 15:08 vercel[bot]

I was wondering about this ! I hope you PR get's approved.

Clovel avatar Sep 05 '22 14:09 Clovel

Hey @tianenpang could you please help me on reviewing this? 🙏🏻

jrgarciadev avatar Nov 05 '22 02:11 jrgarciadev

Huge thanks! @psyirius 🙌🏼

jrgarciadev avatar Nov 06 '22 18:11 jrgarciadev