raimohanska / ourboard

An online whiteboard
Other
763 stars 58 forks source link

Race condition while initializing board view #140

Closed raimohanska closed 3 years ago

raimohanska commented 3 years ago

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.