搜索 | 用户支持

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

详细了解

<select> element automatically selects option under cursor when it opens

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 chap_p

more options

This problem has been bothering me for a while. Here is what is happening:

1. Click <select> element.

2. The <select> element opens and the <option> list in the <optgroup> is shown.

2. The <option> under the cursor is selected without clicking.

3. The <select> element closes.

This doesn't happen if the <option> under the cursor is already selected. It also doesn't happen if I click and hold to open the <select> element and drag the mouse away before releasing the click.

I have already tried Safe Mode and switching off Hardware Acceleration.

This doesn't happen on Safari or Chrome.

I am running Firefox 65.0 on macOS 10.14.2

Any ideas?

This problem has been bothering me for a while. Here is what is happening: 1. Click <select> element. 2. The <select> element opens and the <option> list in the <optgroup> is shown. 2. The <option> under the cursor is selected without clicking. 3. The <select> element closes. This doesn't happen if the <option> under the cursor is already selected. It also doesn't happen if I click and hold to open the <select> element and drag the mouse away before releasing the click. I have already tried Safe Mode and switching off Hardware Acceleration. This doesn't happen on Safari or Chrome. I am running Firefox 65.0 on macOS 10.14.2 Any ideas?

由chap_p于修改

所有回复 (4)

more options

Does this only happen on specific websites? For example, does it happen on this page?

more options

Hi Wesley. Unfortunately, yes it still happens on that website.

It's almost like the onmouseup event from the initial click isn't fired until the <select> element is opened, and it's registered as a click on one of the <option> elements.

more options

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
more options

Hi Cor-el, I've already tried disabling Add-ons one at a time to see if anything helped, and Ive tried the same while also toggling hardware acceleration (I quit and re-launched the browser each time too). I've also tested Safe Mode and the problem persists.

I'm quite lost. I'm fairly sure it's not a problem with my mouse as the problem is completely isolated to this specific case while using Firefox.