-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension breaks the forum on Safari 9 and maybe old Chromium #1
Comments
@matteocontrini this may be tough to replicate given those are dated versions of mobile browsers on dated OS's. I can possibly test on my old Galaxy Tab and get back to you with an exact cause or if @datitisev ends up finding out the problem himself. |
Indeed... I was looking for an APK for the Samsung browser but I can't find it 🤔 EDIT: it's available on Play Store apparently, but only since version 6 if I understand correctly. An idea would be to find out which Chromium version the browser is based on... |
I was able to reproduce on Safari 5 (I don't have Safari 5 installed)... so it's definitely an old browser issue. And it's definitely share social, though I'm not sure what the issue is with the syntax. I'm going to look more into it. |
@matteocontrini Ok, so I might have fixed the issue. Can you run The issue was some of our dependencies using code that didn't work in old browsers. I just made the compiler not ignore the dependencies folder so it would work in older browsers. |
I asked the user and I'll let you know as soon as he replies (kind of 😅) Thank you! |
The user tells me that the forum loads but when he taps "reply", either on a post or at the bottom of a discussion, nothing happens. I disabled the extension again to see if it works without it. It might be another unrelated issue... |
That is an issue known to occur in IE 11, and makes sense that it occurs in other old browsers. That is caused by flarum/markdown, and will be fixed in beta 9. See flarum/framework#1702 for updates on it. Now that the issue is solved, I released v0.1.1, so run |
Oh right, I remember. Thanks for the rapid fix! |
I have reports that this extension breaks the JavaScript version of the forum on some "old" browsers.
A couple of users told me that they got "Something went wrong [...]" when loading the forum, and they saw the "nojs" version.
The two browsers that the users are using are:
I asked the user that had the issue on the Samsung device to connect remotely to the dev tools (Samsung Internet is based on Chromium in recent versions), and he sent me this screenshot:
I don't have the exact position that's causing that first syntax error, but line 1526 in that dist file is something about the share-social extension.
I disabled the extension and the users are not experiencing issues anymore.
I think this might be related to some modern JavaScript feature not being parsed correctly in those browsers, even though transpiling should take care of this.
The text was updated successfully, but these errors were encountered: