Setup wizard select bug

AI-generated summary

In the Discourse setup wizard, a bug caused the wizard panel to disappear when typing a letter (e.g., ‘e’) into the language selection dropdown on macOS 10.13.3 with Chrome 65.0.3325.181. Apecengo reported the issue with screenshots showing the panel vanishing after typing. j.jaffeux acknowledged it as a recent regression, possibly related to a jQuery upgrade, and pushed a fix to make the codepath more resilient here. Apecengo confirmed the fix resolved the issue, noting it was only a minor inconvenience since the setup could still proceed without typing.

Hello

I’m setting up a new Discourse instance, and in the wizard, when trying to select the language, the wizard panel disappears when the select is opened and I type a letter

Steps to reproduce in macOS 10.13.3 (17D102), Chrome Version 65.0.3325.181 (Official Build) (64-bit)

  1. Open the setup wizard (/wizard)
  2. Click on the “What’s the default language for your community?” select box
  3. When opened and in focus, type the letter “e”, for example

Then, the panel disappears and the only thing left is the background image:

Before typing “e”

After

Note that this is only a minor inconvenience. If you don’t type any letter, you can still continue and do the setup without any problem. Still, a bug is a bug.

2 Likes

We have two reports like this one, definitely a recent regression. Will have a look at this monday, probably easy to fix. Maybe jquery upgrade related or not. Thanks for the detailed report.

5 Likes

Could never reproduce it but tried to make this codepath more resilient, let me know if it works. If it doesn’t please try to come up with a clear repro if possible.

https://github.com/discourse/discourse/commit/d54da517d9c58862a576174d1ae5b0c4d67641cb

6 Likes

Now working. Thanks a lot :+1:

5 Likes