calumtomeny / quiz-master

A quiz app based on React and .NET core built for the web.
0 stars 0 forks source link

Calculate Scores button appearing and disappearing before the start of the first question #173

Closed timloudon closed 3 years ago

timloudon commented 3 years ago

Describe the bug The "Calculate Scores" button appears and disappears before the timer begins on the first question.

To Reproduce Steps to reproduce the behaviour:

  1. Go to quiz.coffee
  2. Create a quiz and start
  3. Click the "Go to the first question" button
  4. See that the calculate score button appears and disappears

Expected behaviour The answers table should appear but the calculate score button should not appear until the question has ended

Actual behaviour The calculate score button zooms in and zooms out as the timer begins

Possible cause After looking into the issue this is due to the 'in' property on the Fab component being true on load and then being set to false when the timer begins.