-
Notifications
You must be signed in to change notification settings - Fork 3
fix(textarea): resizer icon (#DS-4257) #1074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements a custom resizer icon for resizable textareas by adding CSS variables for light and dark themes, and styling the webkit resizer pseudo-element.
Key changes:
- Added custom resizer icon styling using the
::-webkit-resizerpseudo-element - Introduced CSS custom properties for the resizer icon in both light and dark themes
- Updated the selector from
.kbq-textareato:where(.kbq-textarea)for better specificity control
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/components/textarea/textarea.scss | Applied custom background to the webkit resizer pseudo-element |
| packages/components/textarea/textarea-tokens.scss | Defined CSS variables for resizer icons in light and dark themes |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
46064b1 to
36bac8c
Compare
|
Visit the preview URL for this PR (updated for commit 2666e16): https://koobiq-next--prs-1074-uyb13vr3.web.app (expires Sat, 01 Nov 2025 09:20:45 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c |
|
кастомизация работает только в вебкит браузерах поскольку |
packages/docs-examples/components/textarea/text-area-overview/text-area-overview-example.ts
Show resolved
Hide resolved
|
пример в доках нужен с autogrow и с резайзом (сейчас автогроу исчез, а это считается самым популярный кейсом использования). давай ты про ресайз добавишь в доки новый раздел в статью |
|
ресайз по ширине можно сделать? или управлять направлением ресайза? |
|
можно комбинировать автогроу и ресайз? |
|
а можно выключить cangrow и сделать поле без возможности ресайзнуть? |
в данной реализации только по высоте, если нужно можно отдельно добавить |
можно, создам задачу на добавление примера
проверю и добавлю пример
DS-4311 |

Uh oh!
There was an error while loading. Please reload this page.