fix: prevent textarea resize overlapping buttons in rejection dialog#27749
Merged
sahitya-chandra merged 3 commits intocalcom:mainfrom Feb 8, 2026
Merged
Conversation
The rejection reason textarea in the booking rejection dialog allows manual resizing via the drag handle, which can cause it to expand over the dialog footer buttons. Adding resize-none prevents this overlap. Fixes calcom#17536
Contributor
Author
Before / AfterBeforeThe textarea can be resized via the drag handle, overlapping the dialog buttons: BEFORE.-.Cal.com.Rejection.Dialog.movAfterThe textarea resize handle is removed, buttons always remain visible: AFTER.-.Cal.com.Rejection.Dialog.mov |
sahitya-chandra
approved these changes
Feb 8, 2026
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.
Summary
resize-noneto the TextAreaField to disable the drag-to-resize handleChanges
apps/web/components/dialog/RejectionReasonDialog.tsx: AddclassName="resize-none"to the TextAreaFieldRoot Cause
The
TextAreaFieldcomponent renders a native<textarea>element which is resizable by default in most browsers. In the rejection dialog, the textarea can be dragged past the dialog footer, causing the textarea to overlap the "Close" and "Reject the booking" buttons, making them hard or impossible to click.Fix
Add
resize-none(Tailwind utility) to disable manual resizing:Reproduction
Test plan
yarn type-check:ci --forcepasses (10/10 tasks)yarn biome check— no new warningsFixes #17536