akzhy / gatsby-starter-elemental

Gatsby starter for portfolio sites
https://elemental.netlify.app
MIT License
137 stars 57 forks source link

Disqus comments are not visible in light mode #32

Closed sanjithpk closed 4 years ago

sanjithpk commented 4 years ago

image

Browser: Chrome

ahmad-reza619 commented 4 years ago

Hi @sanjithpk are you using the latest version of this gatsby starter?

ahmad-reza619 commented 4 years ago

i haven't tried the latest version, but in v1 it's working properly, and i just opened https://elemental.netlify.app. and it seems it's not happened there, can you tell us your chrome version?

sanjithpk commented 4 years ago

I'm using the latest version of the elemental starter.

My chrome version is: 83.0.4103.116 (Official Build) (64-bit)

akzhy commented 4 years ago

Hey @sanjithpk this issue occurs when you switch the theme after load. ie if you were initially on dark mode and then change to light, Disqus will keep using the light mode until the browser window is refreshed. I will try to create an update that solves the issue by refreshing Disqus when the theme is changed.

akzhy commented 4 years ago

Hey @sanjithpk check #33 should fix it

sanjithpk commented 4 years ago

@akzhy , yes it works! Thanks