Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox 30.0 - -moz-appearance: none not working

I am using this code to hide the dropdown arrow and its working fine before the update of firefox but now in firefox 30.0 its broken.

select {
-moz-appearance: none;
text-indent: 0.01px;
text-overflow: '';

}

like image 318
iibtisam Avatar asked Jun 11 '14 14:06

iibtisam


2 Answers

I found a solution

select{
  height:20px; // height of the dropdown
  border:0 none; 
  display: flex;
  background: url('image/sample.jpg');
}
like image 181
iibtisam Avatar answered Nov 16 '22 09:11

iibtisam


This a change in Firefox reported as Bug 649849 - Allow styling of the select element dropdown arrow.

This may be an intentional usability improvement. It is probably best to assume that it is and stop wanting to hide the arrow (which is the browsers’ way of indicating that there is a dropdown menu).

like image 27
Jukka K. Korpela Avatar answered Nov 16 '22 08:11

Jukka K. Korpela