potential-changes-for-github
potential-changes-for-github copied to clipboard
Closing the dropdown when clicking outside of it
Right now, the only way to close the dropdown list is by clicking again on the button.
It'd be nice if the dropdown could close when clicking outside of it. That'd also make it behave similarly to all other dropdowns on GitHub.
This is best implemented by copying the native <details>
implementation that other GitHub buttons have. You can copy the whole Filter dropdown and also fix this other issue in one go: https://github.com/dzhavat/potential-changes-for-github/issues/8
Nice! Will give it a try 👍