⬇️ Dropdown Header

@Arkshine I think DEV: Resolve compatibility with upcoming core changes · paviliondev/discourse-dropdown-header@62649eb · GitHub broke the behaviour here.

I would have wanted to do a PR but Im not even sure what is the expected behaviour on mobile when you cant hover and a header link can have a URL how do you collapse/expand a header link section?

Kapture 2025-07-23 at 16.45.24

1 like

From what I recall, this behavior was present before the PR. I think I forgot to fix it (it might be because I did not know hwo to adress it yet).

It can be confirmed here. Clicking on the header will redirect if a URL exists.

The expand/collapse never worked on mobile view.

What I propose:

  • To avoid introducing a behavior change, I suggest hiding the arrow icon on mobile view to prevent users from thinking they can expand or collapse sections. The expanded state should be the only option since the functionality was never implemented.

    • On a side note, since you have setting to show/hide the arrow icon, you can’t dissociate a click on the header title and arrow.
  • Perhaps we could enable the expand/collapse functionality on mobile only when no URL is assigned and clearly document that both options cannot coexist. Additionally, I think having a URL in the header with a dropdown may confuse users, as it’s not immediately obvious that you can click on the title, so I would encourage the admin not to do that.

Let me know what you think.

2 likes

Yes Im very much aligned with this

1 like

For reference (I forgot to post here :sweat_smile:), I made a PR a week ago:

Hopefully, someone can review it soon. :grinning_face:

2 likes

@Arkshine is het PR al goedgekeurd, weten we wanneer de update live gaat. Dank u. cc @djordje.vucinic

1 like

@angus Sorry to ping you! Is there a chance you could take a quick look at the PR when available? Thanks! :folded_hands:

2 likes

Een heel mooi stuk werk. Er is één onzekerheid die al dan niet een probleem kan zijn: wanneer u op de vervolgkeuzepijl op mobiel klikt, scrolt de pagina automatisch naar boven.

Hi all,

I have an issue that my drop-down header is making my logo smaller and really squashed:

But it looks fine in Admin!?

Screenshot 2025-10-09 at 06.38.03

Any ideas how to fix this, I also want the font to be bold and match my colour on my custom css nav above, how can I achieve that?

Thanks Joe