Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Learn More

Dinamically populated <select> strange behaviour (wrong height) in Firefox 58

  • 1 odgovor
  • 1 ima ovaj problem
  • 1 prikaz
  • Posljednji odgovor od user1929

more options

I'm experiencing strange behaviour in Firefox for a dropdown <select> I populate via AJAX.

What it does is like this... Select dropdown behaviour

As you can see the dropdown box is somehow considered longer by Firefox, which puts the scroll bar and some of the <option>s out of reach, at the bottom... Neither Chrome nor Safari do the same...

Other facts:

   1. CSS is not styling <select>. Switching off the CSS loading doesn't change anything of this behaviour;
2. <select> is included into a ; 3. The Tabs style is obtained with
I'm experiencing strange behaviour in Firefox for a dropdown <select> I populate via AJAX. What it does is like this... Select dropdown behaviour As you can see the dropdown box is somehow considered longer by Firefox, which puts the scroll bar and some of the <option>s out of reach, at the bottom... Neither Chrome nor Safari do the same... Other facts: 1. CSS is not styling <select>. Switching off the CSS loading doesn't change anything of this behaviour; 2. <select> is included into a <table>; 3. The Tabs style is obtained with <ul> + <li> items. Any ideas? Thank you...

Svi odgovori (1)

more options

I think some of the HTML you included got redacted when you posted this. Could you attach an image or a link to the page instead?