How to realize that you cannot select option bug when clicking Select when element An in Firefox contains Select
This article introduces the relevant knowledge of "how to realize that element An in Firefox contains Select when clicking Select cannot choose option bug". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
This is the bug encountered when using one of JD.com 's date components. The code to reproduce bug is simplified as follows
The code is as follows:
You cannot select option by clicking Select when only element An in Firefox contains Select
one
two
three
four
The code is simple. Element A contains a Select. Open the page in Firefox, click select, and the drop-down option appears for the first time. If you click again after the second time, the option option will not appear. It's very strange.
Finally, to ensure that option pops up properly every time you click on select, you can remove element An or replace element A with SPAN.
Test Firefox version: 24
This is the end of the content of "how to achieve that element An in Firefox contains Select, click Select and cannot select option bug". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!