Skip to content

Commit

Permalink
Remove auto focus when showing surah filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ngekoding committed Dec 27, 2024
1 parent 9f229ad commit 2946e50
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/pages/quran/QuranReader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,8 @@ export default {
};
},
watch: {
showSurahFilter(val) {
showSurahFilter() {
this.surahFilter = "";
if (val) {
this.$nextTick(() => {
this.$refs.surahFilterInput.focus();
});
}
}
},
computed: {
Expand Down

0 comments on commit 2946e50

Please sign in to comment.