-
Notifications
You must be signed in to change notification settings - Fork 438
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
[client] fetchComments
is adding another PostBox even if there is already one displayed
#842
Comments
fetchComments
is adding another PostBox even if there is already one displayedfetchComments
is adding another PostBox even if there is already one displayed
Recent changes made to Currently, Isso promises the @Kerumen, would you like to tackle this issue? In the process, you might use the opportunity to untangle the JS a bit (there is a lot of logic inside |
Also, the styling to the comment box in the screenshot you attached looks very cool! Very elegant and understated. Maybe you could share the CSS you used, and if people agree, we could make something like it (with better contrast than grey-on-grey text, and without the cool-but-too-whimsical submit button) the Isso default? |
You are right about SPA. I do integrated Isso in a SPA and needed to call
Yes of course! I can do a separate PR for this, this one is more in my capabilities 😄 (NB: I took the colors from the Tailwind Palette, I really like their default). |
Just quickly re:
Then you can edit js files. With Keep in mind ES5 compatibility (for now, I know it irks you but babel is just so heavy) and feel free to iron out any quirks/inconsistencies you see along the way. The upcoming 0.13 release is going to be shipping a few breaking changes, so feel free to go wild ;) |
Thanks for the development steps. I quickly tried to launch the project yesterday and could not reproduce the bug. It seems that in development, |
Should mostly be fixed by #821 |
Everytime we call
window.Isso.fetchComments()
, a new PostBox is added, even if there is already a PostBox displayed. It means that if we call it 4 times, there will be 4 PostBox displayed.The text was updated successfully, but these errors were encountered: