[Course editor] Using Show/hide to hide two levels re-shows the second closed level

I’ve been working on a new Kanji course ever since I found out what the issue with commas was. I’m often in a situation where I have two levels showing to delete words without one type of reading (on or kun). When I try to hide these two levels, the first one is hidden as usual, but the second show/hide click appears to hide the level, scroll to the next level and then show the level that was just hidden.

So, the bug report boilerplate:

  • Username: TL-Hertzy
  • Platform: Web (OS is Linux, browser is Firefox)
  • Date of first occurrence: around or after January 8 2017
  • Frequency of occurrence: Every time
  • Description of steps you took when issue happened
  1. Open two levels by clicking on their respective show/hide-buttons.
  2. Close one level by clicking its show/hide.
  3. Close the second by clicking its show/hide button.

Expected behavior: both levels will be hidden, and the view will have scrolled to the level immediately after the second level to be closed.

Actual behavior: The second level closed will re-open after scrolling past the level header. See screenshot below:

Additional info: The course I’m creating contains all 2116 Kanji taught in Japanese schools, with 25 kanji per level and separate levels for definition, kun-reading and on-reading. It’s currently sitting at 227 levels, the finished course will have 255 levels.

i don’t know if this is a bug… it was always like this. (I would not call it a feature, however :confused:)

When you say that you’ve been working on a new course ever since you found out what the comma issue was, do you mean that you’ve been duplicating an existing course but without the commas?

I took the raw data I used to create five courses that got broken by the comma thing, replaced commas with semicolons (now that I think of it, I should probably have used slashes), and combined the data into a single mega-course of 255 levels. I just finished creating the course: https://www.memrise.com/course/1360472/joyo-kanji-in-romaji/

That is probably not germane to this particular bug, though.

Ah, I see :slight_smile: I was just going to let you know that there’s a script to fix the comma bug, if you’re interested in fixing the old course.

Well, better late than never, I guess. It was thankfully easy to modify the script to replace the semicolons with slashes.

…Which, now that I reread the guide, doesn’t actually do anything.