Skip to content

Conversation

@artembelik
Copy link
Contributor

@artembelik artembelik commented Oct 23, 2025

  • dark theme icon

@artembelik artembelik self-assigned this Oct 23, 2025
Copilot AI review requested due to automatic review settings October 23, 2025 14:48
@artembelik artembelik added the bug Something isn't working label Oct 23, 2025
Copy link
Contributor

Copilot AI left a 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-resizer pseudo-element
  • Introduced CSS custom properties for the resizer icon in both light and dark themes
  • Updated the selector from .kbq-textarea to :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.

@github-actions
Copy link

github-actions bot commented Oct 23, 2025

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

@NikGurev NikGurev requested review from rmnturov and removed request for rmnturov October 23, 2025 15:01
@artembelik
Copy link
Contributor Author

кастомизация работает только в вебкит браузерах

поскольку mask не применяется к ::-webkit-resizer, поэтому установил иконку при помощи background

@NikGurev
Copy link
Contributor

В firefox не применяется, жаль
а так выглядит красиво

image

@artembelik artembelik merged commit 210ae91 into main Oct 28, 2025
4 checks passed
@artembelik artembelik deleted the fix/DS-4257 branch October 28, 2025 07:14
@rmnturov
Copy link
Contributor

пример в доках нужен с autogrow и с резайзом (сейчас автогроу исчез, а это считается самым популярный кейсом использования). давай ты про ресайз добавишь в доки новый раздел в статью

@rmnturov
Copy link
Contributor

ресайз по ширине можно сделать? или управлять направлением ресайза?

@rmnturov
Copy link
Contributor

можно комбинировать автогроу и ресайз?

@rmnturov
Copy link
Contributor

а можно выключить cangrow и сделать поле без возможности ресайзнуть?

@artembelik
Copy link
Contributor Author

ресайз по ширине можно сделать? или управлять направлением ресайза?

в данной реализации только по высоте, если нужно можно отдельно добавить

@artembelik
Copy link
Contributor Author

artembelik commented Oct 28, 2025

а можно выключить cangrow и сделать поле без возможности ресайзнуть?

можно, создам задачу на добавление примера

можно комбинировать автогроу и ресайз?

проверю и добавлю пример

пример в доках нужен с autogrow и с резайзом (сейчас автогроу исчез, а это считается самым популярный кейсом использования). давай ты про ресайз добавишь в доки новый раздел в статью

DS-4311

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants