Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export default [
'**/commitlint.config.js',
// E2E tests
'e2e-tests/**',
// SDK scripts — ESM parsed incorrectly by typescript-eslint
'packages/sdk/scripts/**',
],
},
{
Expand Down
8 changes: 5 additions & 3 deletions packages/superdoc/src/SuperDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -956,11 +956,13 @@ watch(
},
);

// Ensure hasInitializedLocations is set when comments arrive (backup for cases
// where handleDocumentReady hasn't fired yet). Never toggle false→true→false —
// the virtualized FloatingComments reacts to comment changes via computed properties.
watch(getFloatingComments, () => {
hasInitializedLocations.value = false;
nextTick(() => {
if (!hasInitializedLocations.value) {
hasInitializedLocations.value = true;
});
}
});

const {
Expand Down
Loading
Loading