Category Dropdown in Mobile View

I took a shot today at making it always visible and this seems to be working for me with no side effect that I could notice:

api.modifyClass("component:bread-crumbs", {
  pluginId: "never-hidden-bread-crumbs",
  hidden: false
});

hidden is originally:

@discourseComputed("category")
hidden(category) {
  return this.site.mobileView && !category;
},

I preferred to make it hidden on the categories page only.

3 Likes