This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 4 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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?

Modified by chap_p

All Replies (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.