6,402 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
75
views
Tab Focus Trapping with textArea causes trap to leave container
I am doing focus trapping with the tab key and when i tab out of the textarea, the tabbing leaves the container. If I use an input instead then the focus trapping works... Any idea's on why focus ...
0
votes
2
answers
173
views
PHP/HTML with multiple text areas and buttons with the same name [duplicate]
I have a database containing log entries of various servers and their processes.
The data is retrieved with php, presented in an html table with each row containing (among others) a textarea for a ...
0
votes
1
answer
58
views
Streamlit textarea with live byte counter
I have a small problem in my application. I am currently working on a Streamlit app where I generate text via OpenAI. This text is displayed in a textarea for the user, and the textarea has a live ...
0
votes
1
answer
106
views
Shopify Theme Dev: How to add strikethrough to text and textarea inputs?
Relevant Shopify theme docs
https://shopify.dev/docs/storefronts/themes/architecture/settings/input-settings#text
https://shopify.dev/docs/storefronts/themes/architecture/settings/input-settings#...
-1
votes
1
answer
71
views
How to align label and input text inside MUI textarea?
I need a textarea field containing label inside the textarea field. The input text will start from the end of the label. If the label is so long, it will go to the second line. According to device ...
0
votes
1
answer
81
views
How to add WYSIWYG on website portal textarea?
In odoo18, i have customized the view of the frontend page /my/account by inheriting the view "portal.portal_my_details" to add a custom field wrapped into an HTML textarea. I have added the ...
1
vote
1
answer
330
views
Textarea Scrolling Issue on Mobile Devices with Keyboard Open
I've built a simple web application using React, and I'm running into an issue with a <textarea> input box. The textarea is set up to allow scrolling when the content overflows, which works fine ...
1
vote
0
answers
72
views
(Framer) Motion `textarea` height animation causes first line to flicker (shift up) briefly
I'm using (Framer) Motion to animate the height of a textarea in React. It starts with one row and automatically expands when the user types past the first line. But there's a visual bug:
When the ...
-2
votes
1
answer
137
views
Why sometimes escape key causes textarea to lose focus?
I'm using textarea and noticed that hitting escape causes it to lose focus to the body. I tried to isolate it in a minimal example but it doesn't lose focus there. I have stripped all my key and mouse ...
1
vote
1
answer
70
views
Why a textarea is 1-line on desktop and 2-line on iOS (mobile)?
I'm working on a chatbot (as a newbie) and work on UI (using Tailwindcss).
For a reason I understand (different behaviors), I do not know how to handle it.
Any clue? Thanks.
On desktop textarea is 1 ...
0
votes
3
answers
92
views
How to get content of each line on textarea
If textarea display line 1 ![Screen Shot 2025年02月21日 at 17.32.49.png] and line 2 is (http://localhost:9001/article/680x_4a9d1136-fafb-40dc-8a47-72ca0b24bf46.png), how can I get content of textarea by ...
0
votes
0
answers
27
views
How to get textarea to scale as you type [duplicate]
Is there a way to make a textarea (currently 32x120px) become taller if you type more? I'd like a CSS only approach but if not, how could I do it with JS
no JQuery/library, avoid JS (unless nessessary)...
0
votes
1
answer
72
views
Flexbox: can't put textarea on a new line
I am trying to float a preformatted block of text to the right of a page, keeping the text aligned to the left of the block so that I get a right-aligned paragraph containing left-justified text. This ...
0
votes
0
answers
26
views
Form value preserved after submission [duplicate]
I want to preserve the form value in the input field and after submit button is clicked and if there are validation errors then remaining field should preserve the value.
After refreshing the page the ...
0
votes
0
answers
27
views
How to ensure <textarea>/<input> selection set in a keydown handler stays in place in mobile browsers?
Suppose I have a script that intends to implement "smart brackets" in <textarea> and <input> elements: whenever the user types in a bracket or quotation mark character while selection is ...