Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 1 réponse
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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...

Toutes les réponses (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?