Questions tagged [floating-labels]
30 questions
7
votes
3 answers
Bootstrap 5 floating label for a textarea overlaps with input on scroll
Looking at the documentation for a floating label of a textarea, https://getbootstrap.com/docs/5.0/forms/floating-labels/, it appears that the label overlaps with the input if the content is scrollable:
Is there a way to prevent this and make the…

Pattay
- 319
- 1
- 4
- 15
7
votes
2 answers
Bad behavior of floating-labels when autocomplete
I've using the Floating labels example from Bootstrap 4.3.
If the browser has already credentials on the autocompletement, the layout of will breaks.
The animation (and the size & margin properties) of floating labels will only start, if the…

Adrian Preuss
- 3,228
- 1
- 23
- 43
3
votes
3 answers
Bootstrap 5's floating label on textarea
I want to solve somehow the floating label on textarea label and text collision.
Image:
The site here if you want to try it live: https://getbootstrap.com/docs/5.0/forms/floating-labels/
Basicly just type in 4 or more row. I know they'll probably…

South3492
- 101
- 9
2
votes
1 answer
Bootstrap 5 - Position floating label inside form-control with width: auto?
I'm using Bootstrap 5. I'm trying to use floating labels with centered form controls that have a width: auto instead of Bootstrap's default 100%. I'm not sure how I can get the floating labels to be inside the input fields at all times. I've…

Nicolas De Roover
- 23
- 1
- 5
2
votes
2 answers
Is there a way to move labels up on a sieve plot in order to make the graphs look cleaner?
I am working on a research project and I am trying to show my boss some clean graphs that can be put into a project. I made this sieve plot and I can't figure out 1. How to rotate the x-axis labels and make pull them off the graph and 2. How to move…

Sam Cole
- 57
- 6
1
vote
0 answers
React Bootstrap Floating Label Overlaps Input
I'm using React Bootstrap's FloatingLabel element over a form, but my label text is longer than the form width, and breaks to two lines. Text entered in the input field is overlapped by the label. Is there any way to ensure the label doesn't overlap…

John Fotouhi
- 11
- 3
1
vote
1 answer
Adjust mat-form-field floating label gap
I'm trying to adjust the gap between the floating label and the border next to it.
As you can see below, on the second picture:
There is a wider gap on the right, between the floating label and the border. I want to adjust this so that the gap is…

Manuel Brás
- 413
- 7
- 21
1
vote
0 answers
Bootstrap: Floating labels with label before input field
I want to use floating labels with some input fields.
The for is based on Bootstrap 4 styles but I can't change the structure of the elements.
I found this example for floating labels:…

Cray
- 5,307
- 11
- 70
- 166
1
vote
1 answer
CSS Floating Labels Not Working in Edge or IE
I am trying to figure out how to get this code to work in IE and Edge. It works perfectly in Chrome and Firefox and looks good too. I understand that it may deal with browser support for :placeholder-shown but I am not sure and can't figure it…

Joshua Olds
- 11
- 3
1
vote
1 answer
How to create floating label on form
I'm using the floating labels example from Bootstrap but can not get it to work for the "select" element. I'd like the label for the "select" element to function the same way as the "input".
https://www.bootply.com/zBo1RcUZ1o#

elevatrons
- 23
- 1
- 5
0
votes
0 answers
Label floating not working inside updatepanel c#
I am using bootstrap 5 and floating label which is working fine but if i use it inside the update panel and updatepanel refresh then floating label is not working the label display as placeholder does not disappear here is my code`
Product…

Samee Ullah
- 1
- 2
0
votes
2 answers
Float label with Vuetify Textarea not resetting above Textarea after pasting and blur
I am having a Textarea blur problem that fails to reposition a floating label after clicking out out of the Textarea after a paste.
I PASTE some text into a Textarea and exit the Textarea in any way (Ctrl-Enter or click outside the area), which then…

Norm Strassner
- 225
- 3
- 11
0
votes
2 answers
Bootstrap Floating labels not showing up
So I have this template which the Floating labels are not showing up.

LilCode
- 1
0
votes
0 answers
Floating label select box in in react native for IOS/Android/Web
I am creating application in react native for ios/android and using react native web for web part.
I need select box component with floating label which works on all 3 environments.
I don not want to use any ui library like native base or native…

spjgoku
- 71
- 1
- 6
0
votes
0 answers
Weird CSS when using FloatingLabel with InputGroup components of react-bootstrap
I am trying to use a FloatingLabel component alongside an InpuGroup component of the react-bootstrap package. I am able to get the inputs grouped but the height of the InputGroup.Text is greater than the FloatingLabel input.
Weird CSS when using…

Dhyey Patel
- 1
- 1