reaviz / reablocks

🧩 Component Library for React based on Tailwind. Maintained by @goodcodeus.
https://reablocks.dev
Apache License 2.0
131 stars 10 forks source link

fix textarea input ref #254

Closed steppy452 closed 3 months ago

steppy452 commented 3 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Textarea input can be focused by using something like inputRef?.current.focus()

I also created a new outside focus story to demonstrate functionality

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reablocks-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2024 0:39am
netlify[bot] commented 3 months ago

Deploy Preview for reablocks-storybook ready!

Name Link
Latest commit 08b7a343ee331a3d18a0415bbf3bd768c5dce5f0
Latest deploy log https://app.netlify.com/sites/reablocks-storybook/deploys/66b8081923df0c0008d30e3c
Deploy Preview https://deploy-preview-254--reablocks-storybook.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.