this came up a few times, but, was unable to get it to do it on purpose. only thing consistent was that i was on mobile. i have the latest update(s).
Does it happen in safe mode on that site?
I have also had reports of this error on my site sporadically for the last few months. I’ve been unable to track down the cause or any way to reproduce it myself. Apparently it occurs on iOS when clicking the new topic button.
I realise that’s not particularly helpful, but maybe it rules out any specific customisations @8BIT has in place.
i can’t seem to replicate it consistently enough, but, i do not think so…
This is your alert @sam any diagnostic ideas?
I’ve managed to reproduce this consistently on mobile
https://meta.discourse.org/categories, refresh the page
- Navigate to Latest
- Click New Topic
- Error occurs
Navigating to another page resolves the issue. Here’s a video of the process:
I will take it as Im currently facing the same kind of bug with the new reply select kit component, and Im digging through this code.
So this is coming from here:
const style = !this.site.mobileView && this.siteSettings.desktop_category_page_style;
So on mobile we are calling
promise = CategoryList.listForParent(this.store, parentCategory); while on desktop we are calling
I went with this easy fix:
As I didn’t want to refactor the whole
discovery-categories file, do you think that should be enough @sam ?
Seems fine to me, very safe change.
This topic was automatically closed after 24 hours. New replies are no longer allowed.