[terra-form-textarea] Theming animation to appear above text
See original GitHub issueFeature Request
Description
Currently the focus/active animation available in theming is using the background image, which for textarea when there is long text and it wraps within the textarea box, the text contents of the textarea appear over the animation bar. Request is to spike to see if animation bar could be an :after
element and appear above the text (essentially masking it like an additional border.
Additional Context / Screenshots
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Floating Label Animation - Move placeholder to top - YouTube
And then we can create a floating label animation by simply styling the label element to make it look like placeholder text and...
Read more >XSS (Cross Site Scripting) - HackTricks
1. Can you create new HTML tags? · 2. Can you use events or attributes supporting javascript: protocol? · 3. Can you bypass...
Read more >Clustering 4000 Stack Overflow tags with BigQuery k-means
In this post he works with BigQuery – Google's serverless data warehouse – to run k-means clustering over Stack Overflow's published dataset ...
Read more >Create a human-in-the-loop workflow using callbacks
This tutorial shows you how to create a translation workflow that waits for your input—the human in the loop—and that connects a Firestore...
Read more >Icons · React Native Paper - Open Source
Some components may not look correct without vector icons and might need extra configuration. Using the icon prop. Many components such as Button...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was looking at the CSS stylings for the after element, and it’s looking like you can only use those pseudo elements for container elements, like div’s and paragraphs. You can view here for more information: https://stackoverflow.com/questions/2587669/can-i-use-a-before-or-after-pseudo-element-on-an-input-field
The other option is to wrap the textarea inside a div, add a span tag that is the animation bar, and make that positioned absolutely. However, last time I tried that, the horizontal bar would be 100% of it’s entire container, as expanding with the gripper would not automatically resize that bar without javascript. In addition, there is no event that ties onto resizing with the gripper, so it’s hard to resize the gripper bar.
This issue has been automatically marked as inactive because it has not had recent activity. It will be closed in seven days if no further activity occurs. Thank you for your contributions.