question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[terra-form-textarea] Theming animation to appear above text

See original GitHub issue

Feature 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:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JakeLaCombecommented, Sep 14, 2018

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.

0reactions
stale[bot]commented, Oct 4, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found