fix: linked doc popover selector error (#12528)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

- **Bug Fixes**
  - Improved scrolling behavior to the focused item in the linked document popover, ensuring reliable navigation regardless of special characters in item identifiers.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Saul-Mirone
2025-05-26 10:06:04 +00:00
parent 01369954d6
commit 9343e29fea
@@ -386,7 +386,7 @@ export class LinkedDocPopover extends SignalWatcher(
}
const ele = shadowRoot.querySelector(
`icon-button[data-id="${this._activatedItemKey}"]`
`icon-button[data-id=${CSS.escape(this._activatedItemKey)}]`
);
// If the element doesn't exist, don't log a warning