mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-09-10 00:18:23 +00:00
|
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
GitNexus Index / index (push) Waiting to run
GitNexus Index / post-index (push) Blocked by required conditions
The "Add to chat" popup lingered over an empty caret after a selection collapsed through a path that fires no mouse/key event — most often a streaming markdown re-render replacing the selected text node. The selection state only updated on mouseup/dblclick/keyup/scroll/resize, so a silent collapse left the button stranded ("showing up with nothing selected").
Add a `selectionchange` listener that hides the popup the instant the selection collapses or empties. It only hides, never shows, so an in-progress drag-select still won't flicker the popup.
Adds an e2e that collapses the selection without a mouse event and asserts the popup disappears.
|
||
|---|---|---|
| .. | ||
| agents.helpers.ts | ||
| agents.spec.ts | ||
| app-load.spec.ts | ||
| attachment-preview-loop.spec.ts | ||
| auth.spec.ts | ||
| bookmarks.spec.ts | ||
| chat.spec.ts | ||
| conversation-management.spec.ts | ||
| deployment-skills.spec.ts | ||
| enforced-model-specs.spec.ts | ||
| helpers.ts | ||
| isolation.spec.ts | ||
| mcp-allowlist-override.spec.ts | ||
| mcp-ephemeral.spec.ts | ||
| mcp.spec.ts | ||
| message-tree.spec.ts | ||
| model-spec-branding.spec.ts | ||
| model-spec-icons.spec.ts | ||
| model-spec-skills.spec.ts | ||
| model-spec-starters.spec.ts | ||
| model-switching.spec.ts | ||
| permissions.spec.ts | ||
| projects.spec.ts | ||
| prompts.spec.ts | ||
| quotes.spec.ts | ||
| shared-links.spec.ts | ||
| sidebar.spec.ts | ||
| skill-file-authoring.spec.ts | ||
| soft-default.spec.ts | ||
| two-factor.spec.ts | ||
| usage.spec.ts | ||