Skip to content
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

feat(ktextarea): add autosize for <KTextArea> #2587

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Justineo
Copy link
Contributor

@Justineo Justineo commented Jan 22, 2025

Summary

  • Introduced a new autosize prop that dynamically adjusts the height of the textarea based on its content.
  • Added an enhancement for resizable textareas where double-clicking the drag handle resets the default sizing (which Firefox supports natively)
  • Added a new browser utilities module for handling user-agent detection and ensuring browser compatibility.

Jan-22-2025 10-22-48

@Justineo Justineo requested review from adamdehaven, jillztom and a team as code owners January 22, 2025 04:00
Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for kongponents-sandbox ready!

Name Link
🔨 Latest commit 59de1d1
🔍 Latest deploy log https://app.netlify.com/sites/kongponents-sandbox/deploys/6791df8da849dd00081b006a
😎 Deploy Preview https://deploy-preview-2587--kongponents-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for kongponents ready!

Name Link
🔨 Latest commit 59de1d1
🔍 Latest deploy log https://app.netlify.com/sites/kongponents/deploys/6791df8d93d06400089cf95c
😎 Deploy Preview https://deploy-preview-2587--kongponents.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

src/utilities/browser.ts Show resolved Hide resolved
src/components/KTextArea/KTextArea.vue Outdated Show resolved Hide resolved
src/components/KTextArea/KTextArea.vue Show resolved Hide resolved
src/components/KTextArea/KTextArea.vue Show resolved Hide resolved
src/components/KTextArea/KTextArea.vue Show resolved Hide resolved
@Justineo Justineo enabled auto-merge (squash) January 22, 2025 06:52
docs/components/textarea.md Show resolved Hide resolved
src/components/KTextArea/KTextArea.cy.ts Outdated Show resolved Hide resolved
src/components/KTextArea/KTextArea.cy.ts Show resolved Hide resolved
src/components/KTextArea/KTextArea.vue Show resolved Hide resolved
src/components/KTextArea/KTextArea.vue Outdated Show resolved Hide resolved
@Justineo Justineo force-pushed the feat/autosize-textarea branch from f7ded54 to 59de1d1 Compare January 23, 2025 06:19
@kongponents-bot
Copy link
Collaborator

Preview package from this PR in consuming application

In consuming application project install preview version of kongponents generated by this PR:

@kong/kongponents@pr-2587

@Justineo Justineo requested a review from adamdehaven January 24, 2025 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants