Fix an issue where clicking the dropdown arrow in Chrome saved changes
In Chrome, clicks on elements inside a disabled <button> will not invoke the <button>'s "click" event listeners but they will propagate through the button and invoke parent element's click handlers. In Firefox however, the click event is not propagated. The fix here is to install the click handler for the main part of a dropdown button on the <button> itself, rather than the container <div> which holds the main button and the dropdown arrow. Card 89
Showing
Please register or sign in to comment