搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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...

所有回复 (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?