fix(ChatInput): stop the hidden error region swallowing clicks - #3883
Open
annamalailakshmann wants to merge 1 commit into
Open
fix(ChatInput): stop the hidden error region swallowing clicks#3883annamalailakshmann wants to merge 1 commit into
annamalailakshmann wants to merge 1 commit into
Conversation
annamalailakshmann
requested review from
anuraghazra,
kamleshchandnani,
ravikumar-rajagopalan,
rohankokane-dev,
saurabhdaware,
saurav12 and
swapnil-kr1
as code owners
August 14, 2026 17:45
🦋 Changeset detectedLatest commit: c593d3a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
|
🤖 Slash AI Review has been triggered. View execution logs |
This was referenced Aug 14, 2026
Collaborator
🛡️ Coverage ReportSummaryFull Coverage Details |
Contributor
There was a problem hiding this comment.
✨ Agentic PR Review ✨
Status: Approved ✅
UI Review
✅ 3 passed
Passing checks (3)
| Check | Screenshot |
|---|---|
| ✅ ChatInput default (no error) | ![]() |
| ✅ ChatInput with validation error | ![]() |
| ✅ ChatInput full featured | ![]() |
Usage
import { ChatInput } from '@razorpay/blade/components';
<ChatInput />
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
ChatInputreserves its validation region as an absolutely positioned box above the card and leaves it mounted when there is no error, soBaseMotionEntryExitcan animate it out. Invisible, but it still takes pointer events — and it is full-width, directly over the composer.Anything a consumer stacks in that space is silently intercepted. Measured against a feedback scale placed there: it covered the lower 20px of each 32px button, so hover fired late and a click near the middle of a control did nothing at all. Nothing on screen explains it; the row simply feels dead.
The region only needs to be interactive when it is actually saying something.
Changes
pointerEvents={isError ? 'auto' : 'none'}on the error regionAdditional Information
Standalone: no dependency on any other work. First of a stack of four, but this one is a bug fix that stands alone and can merge on its own.
Component Checklist
🤖 Generated with Claude Code