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.

<select> element rendering incorrectly in input-group

See original GitHub issue

I’m using Bootstrap and <select> elements on my page without any additional styling and their arrows look ugly if they are parts of an input-group. That’s how such a <select> shows up in Firefox (not much difference in Chrome either):

image

And this is how Firefox normally renders a <select> element without Bootstrap (or without placing it in an input-group):

image

This fiddle shows the behaviour.

What causes the issue? Is this a known bug, and if so, are there any workarounds? (I’d rather not use dropdown components instead as it would be hard to configure those as Angular FormControls.)

(OS: Ubuntu 17.04, Browser: Firefox 56.0)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alecplcommented, Oct 19, 2017

Any background or border (including border-radius) change causes this. I think there’s no solution. It worked the same in Bootstrap 3. Maybe there should be a variable that would allow to disable this select styles.

0reactions
mdocommented, Oct 23, 2017

Closing as custom select support is coming in #24455.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap4-styled <select> element rendering incorrectly
I'm using Bootstrap and <select> elements on my page without any additional styling and wonder why their arrows look ugly.
Read more >
The HTML Option element - MDN Web Docs - Mozilla
The <option> HTML element is used to define an item contained in a <select> , an <optgroup> , or a <datalist> element. As...
Read more >
Bootstrap Input Group Not Rendering Correctly Inside Jquery ...
Commonly encountered issues when using Select2. Select2 does not function properly when I use it inside a Bootstrap modal. <div idmyModal classmodal fade ......
Read more >
Meta Box Changelog
Fixed select elements with long titles from relationship boxes break out of meta box. Props @Doug; Fixed OSM not working if there are...
Read more >
kendo angular input group - El Primer Grande
If prevented, the clicked input will not be selected. To position the CheckBox before a label, nest the two elements within a wrapper...
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