FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Animate form control focus and blur states by JhumanJ · Pull Request #1237 · OpnForm/OpnForm · GitHub

Animate form control focus and blur states - #1237

Draft
JhumanJ wants to merge 3 commits into
mainfrom
codex/animated-form-control-focus
Draft

Animate form control focus and blur states#1237
JhumanJ wants to merge 3 commits into
mainfrom
codex/animated-form-control-focus

Conversation

JhumanJ commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • add shared animated focus, focus-visible, focus-within, and active-state theme primitives
  • apply the focus treatment consistently across text, textarea, select, date, phone, file, code, checkbox, matrix, scale, and option controls
  • propagate the configured form color to compound controls so custom form themes keep their expected focus color

Why

Form controls previously switched to a solid Tailwind ring immediately. This ports the smoother Justiciel interaction: the border and a subtle color-matched halo animate in and out over 200ms.

User impact

Public forms now have consistent, smoother focus and blur feedback while preserving keyboard focus visibility, error states, transparent themes, and custom form colors.

Validation

  • npm run lint
  • git diff --check
  • local isolated Laravel/Nuxt environment
  • browser verification on seeded classic and transparent public forms, including computed custom color, border, box shadow, transition duration, and focus transfer between inputs

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL