fix: textarea ux in Editor.tsx #16225#16231
Conversation
|
@thefcraft is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (08/16/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (08/16/24)1 label was added to this PR based on Keith Williams's automation. |
anikdhabal
left a comment
There was a problem hiding this comment.
Your changes did not fix the actual issue; now it hides the ring color using hardcoded styles. I don't think this is a good approach.
The only thing that is needed, and I thought about it before, is a max-height property for the editor.
Untitled.video.-.Made.with.Clipchamp.1.mp4have a look, max height is for different purpose |
Amit91848
left a comment
There was a problem hiding this comment.
Unit tests are failing @thefcraft, please look into it. Also suggested some changes which would solve the problem for all the Dialogs
| <div | ||
| className={classNames( | ||
| "flex justify-end space-x-2 pb-4 pt-4 rtl:space-x-reverse", | ||
| "bg-default -ml-1 -mr-1", |
There was a problem hiding this comment.
It's works, but definitely not pixel perfect. My question is, for one dialog or a simple issue, why do other dialogs suffer?
People often don't provide as much description when creating an event, which causes the editor to go off-screen. I suggest adding an optional max-height property to the editor to ensure it doesn't go off-screen. Maximum text editor has the ability to set max height, it would be useful in other cases also.
E2E results are ready! |


What does this PR do?
also follows [pull request] 16226 changes
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
i tested the ui my self
and run the test cases
Checklist