quran / quran.com-frontend

quran.com frontend
https://quran.com
MIT License
998 stars 361 forks source link

Sura toggle does not change to current surah #793

Closed zfaizal closed 7 years ago

zfaizal commented 7 years ago

Asalamualaikum, I am not sure if this issue has been flagged after looking through current issues but I have found that when toggling between Surahs either using the dropdown, or the arrow toggle the name of the Surah in the top left does not change to the current Surah.

screenshot For example, here we see that the Surah name displayed is Al-Qadr but the current Surah is Fatihah. Will look into it, but just a heads up.

Jazakallah!

mohhasbias commented 7 years ago

i've tried to reproduce this problem. but i got the inverse of it, such as these image The surah is Al-Qadr, but the toggle is Al-Fatihah.

To reproduce:

  1. Visit Quran.com
  2. Click Al-Fatihah
  3. From surah toggle (select), choose Al-Qadr.
zfaizal commented 7 years ago

The toggling is not limited to those Surahs only. They apply to the toggling to any Surah. If you were to follow your directions again exactly, but this time:

  1. Click Al-Qadr
  2. From surah toggle select Al-Fatihah

Now, you will see what I have shown. The main issue is that the toggle does not match surah which the displayed ayahs are from.

Hartha-aloufi commented 5 years ago

@naveed-ahmad I notice the same issue again !