Implement CSS animation detection for autofill#121
Conversation
|
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
📝 Storybook Preview: View Storybook This preview will be updated automatically when you push new changes to this PR.
|
Overview
This PR implements a technique for detecting browser autofill using CSS animations and the animationstart event. This approach is particularly effective in Chrome and other WebKit browsers.
Implementation
useAutofillAnimationDetectionhook that:Technical Details
This approach works by:
Testing
To test this implementation:
yarn storybookRelated Issues
Addresses subissue 360T-606: Implement CSS animation detection for autofill
Part of parent issue 360T-602: Explore adding autofill management to form library
💻 View my work • 👤 Initiated by
Jake Ruesink• About Codegen⛔ Remove Codegen from PR • 🚫 Ban action checks