raimohanska / ourboard

An online whiteboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Race condition while initializing board view

raimohanska opened this issue · comments

If you enable the latency simulation await sleep(3000) in connection-handler, to to a board and move the mouse while the board is loading, you'll get a race condition like this:

image

All user interaction with the board should be prevented while it's being fetched from the server. Everything else except cursor movement probably is already okay.

Minor thing but definitely a must fix.