Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 4 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Được chỉnh sửa bởi chap_p vào

Tất cả các câu trả lời (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.