ouija-io / ouija

Communicating with ghosts

Home Page:http://ouija.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ouija shows commenting form when loading

halfdan opened this issue · comments

Ouija seems to show the commenting form when clicking on the loading symbol before it has finished loading:

ouija-loading

Note: Bug shows at the end - had to CMD+R/clear content on that to make it show up.

Solution to this is to use the promise that gets resolved here: https://github.com/goinstant/ouija/blob/master/app/post.js#L57 in the handleControlsClick listener here: https://github.com/goinstant/ouija/blob/master/app/ouija.jsx#L130

It would delay opening the conversation block until the comments have been fetched.