Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i 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.

Læs mere

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

  • 4 svar
  • 1 har dette problem
  • 1 visning
  • Seneste svar af 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?

Ændret af chap_p den

Alle svar (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.