@lark-apaas/coding-template-nestjs-react-fullstack 0.1.55-alpha.20261101050259 → 0.1.55-alpha.20261101083044

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/coding-template-nestjs-react-fullstack",
3
- "version": "0.1.55-alpha.20261101050259",
3
+ "version": "0.1.55-alpha.20261101083044",
4
4
  "description": "NestJS + React fullstack template for miaoda coding",
5
5
  "type": "module",
6
6
  "files": [
@@ -477,7 +477,9 @@ export function DiscussionComposer({
477
477
  )}
478
478
  {!editing && (
479
479
  <>
480
- <span className="replica-toolbar-divider" />
480
+ {(enableImages || (enablePrivateComments && !replyName)) && (
481
+ <span className="replica-toolbar-divider" />
482
+ )}
481
483
  <button
482
484
  type="button"
483
485
  className="replica-send-button"
@@ -208,7 +208,7 @@ function MentionSkeleton() {
208
208
 
209
209
  /** Source: miaoda biz-mention/position + UD MentionPanel and OptionItem less. */
210
210
  export function MentionSuggestions({
211
- container,
211
+ container: providedContainer,
212
212
  anchor,
213
213
  editorElement,
214
214
  id,
@@ -224,6 +224,12 @@ export function MentionSuggestions({
224
224
  loadMore,
225
225
  hasMore,
226
226
  }: Props) {
227
+ // Stay inside the editor's modal boundary so its focus scope and pointer
228
+ // guard treat a candidate click as an interaction within that modal.
229
+ const container =
230
+ providedContainer ||
231
+ editorElement.closest<HTMLElement>('[role="dialog"], [role="alertdialog"]') ||
232
+ document.body;
227
233
  const panel = React.useRef<HTMLDivElement>(null);
228
234
  const list = React.useRef<HTMLDivElement>(null);
229
235
  const initialLoading = loadingInitial ?? (loading && !items.length);