In the latest version of Firefox , the `document` click event is triggering when a `mousedown` event occurs on a `select` element while using Select2. This behavior is different from other browsers. #51
In the latest version of Firefox, I'm encountering an unexpected behavior related to mousedown and click events when interacting with a select element within the Select2 library. The issue is not present in other web browsers.
Details:
Expected Behavior: Click events should not propagate to the document when interacting with a select element.
Observed Behavior in Firefox: Click events on the select element trigger the document click event.
Steps to Reproduce:
Use the provided HTML and JavaScript code.
Open the webpage in Firefox (Latest version).
Interact with the select element within the Select2 dropdown.
Description:
In the latest version of Firefox, I'm encountering an unexpected behavior related to mousedown and click events when interacting with a select element within the Select2 library. The issue is not present in other web browsers.
Details:
Expected Behavior: Click events should not propagate to the document when interacting with a select element. Observed Behavior in Firefox: Click events on the select element trigger the document click event.
Steps to Reproduce:
Use the provided HTML and JavaScript code. Open the webpage in Firefox (Latest version). Interact with the select element within the Select2 dropdown.
`
`