UX: handle opening composer from slide-in hamburger menu (#159)

This commit is contained in:
Kris
2025-05-12 12:04:38 -04:00
committed by GitHub
parent d749920db7
commit 86d0c03b03
3 changed files with 42 additions and 0 deletions
@@ -0,0 +1,10 @@
import { apiInitializer } from "discourse/lib/api";
export default apiInitializer("0.8", (api) => {
api.registerValueTransformer(
"hamburger-dropdown-click-outside-exceptions",
({ value }) => {
return [...value, ".topic-drafts-menu-content"];
}
);
});