neonwuchang / PracticeMandarin

0 stars 0 forks source link

Issue with Flashcard Flipping/ Next mechanism #8

Open neonwuchang opened 9 months ago

neonwuchang commented 9 months ago

Issue: This happens when the flashcard is flipped to the pinyin and English translation. When "Next" is clicked in this case, card flips and displays a new character. However, just before this flip happens, the definition of the new character is briefly visible. This should not happen.

Steps to recreate issue:

  1. Navigate to: https://neonwuchang.github.io/PracticeMandarin/flashcardpage.html
  2. Flip card by clicking instead of hovering. (For example, use touch input.)
  3. Click "Next".

Needs fixing.

DATAVXN commented 9 months ago

Hello, seems to be working fine on this end:

https://github.com/neonwuchang/PracticeMandarin/assets/71538045/cc6e8269-b42c-462a-b226-85466e81a26d

neonwuchang commented 9 months ago

Hello, seems to be working fine on this end:

Screen.Recording.2024-01-30.at.7.42.46.PM.mov

The issue only occurs if you've flipped the card by clicking on it (not hovering) to view the English meaning of the character, and then click 'Next'. Like this:

https://github.com/neonwuchang/PracticeMandarin/assets/103783716/fb1d4d10-547e-4946-823e-c2e9fd20e084