mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:03:35 +08:00
194c962124
Because of how the dropdown was structured, as long it was in the DOM, all clicks outside the widget would rerender it. This commit introduces `widget-dropdown-body` that handles the `clickOutside` callback and is rendered conditionally, so it won't get called when the dropdown is closed. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |