correction scroll preview

This commit is contained in:
Julie Blanc 2026-03-08 08:51:22 +01:00
parent c3c9de2ca2
commit ccdd9bda05
3 changed files with 15 additions and 6 deletions

View file

@ -195,7 +195,7 @@
</template>
<script setup>
import { ref, computed, watch, onMounted, inject } from 'vue';
import { ref, computed, watch, onMounted, inject, nextTick } from 'vue';
import bookIcon from '/assets/svg/book.svg?raw';
import { useStylesheetStore } from '../../stores/stylesheet';
import { useDebounce } from '../../composables/useDebounce';
@ -518,7 +518,7 @@ const syncFromStore = () => {
(rightPageMatch && rightPageMatch[0].includes('string(title)'));
runningTitle.value = hasRunningTitle;
} finally {
isUpdatingFromStore = false;
nextTick(() => { isUpdatingFromStore = false; });
}
};