Why the drop-down menus aren't working

AI-generated summary

The issue concerns drop-down menus not displaying on a Discourse site. Engineer_Abdallah reported the problem, which persisted across browsers and themes, even after reverting to the default. NateDhaliwal confirmed it occurred in safe mode, suggesting a deeper issue. chapoi identified that the dropdown elements were present but positioned offscreen due to incorrect X coordinates, particularly affecting RTL languages. Engineer_Abdallah confirmed the issue began after a recent update and resolved when switching to English. chapoi moved the topic to the bug category and confirmed it could be reproduced with RTL. The issue was resolved in pull request 36593, as noted by cvx.

Hello everyone

I think I’m having a problem with the drop-down menus; they’re not showing up. I’ve rebuilt the system, and the problem isn’t with the theme (because I reverted to the default theme, and the problem persists).

I’ve tried multiple browsers, and the problem is the same!

3 Likes

Hi there, does this happen in safe mode?

No, I was in normal mode. You can confirm this here:
enghub.site

1 Like

Alright, so I have taken a look at your site, and it happens even in safe mode. Inspecting the page shows the list when the dropdown is opened, just that it isn’t shown. Very odd. I wonder… could this be an effect on RTL languages? (EDIT: Perhaps not)

1 Like

The dropdown is on the page, just positioned offscreen so you can’t see it. Very odd.

More specifically: it’s the X coordinate that’s totally wrong.

@Engineer_Abdallah Did this start happening with the latest update?

2 Likes

I downloaded Discourse today

2 Likes

Moving this to bug, can repro locally with RTL language.

1 Like

Yes, when I convert to English language

All things are good

Fixed in FIX: Correctly place select-kit dropdown in RTL mode by cvx · Pull Request #36593 · discourse/discourse · GitHub. Thank you for reporting this issue!

5 Likes

This topic was automatically closed after 24 hours. New replies are no longer allowed.