Skip to content

fix(flow-chat): prevent background activity menu clipping - #1817

Merged
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev
Jul 28, 2026
Merged

fix(flow-chat): prevent background activity menu clipping#1817
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev

Conversation

@wsp1911

@wsp1911 wsp1911 commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Render FlowChat background activity action menus through a fixed portal so they are not clipped by the activity panel scroll container.
  • Reposition open menus on resize and scroll, including nested activity-list scrolling.
  • Preserve outside-click behavior and add focused coverage for portal rendering and menu interaction.

Type and Areas

Type:

Bug fix / UI/UX

Areas:

Web UI, FlowChat

Motivation / Impact

The three-dot menu for a trailing background activity could be rendered below its trigger but clipped by the activity panel. Users can now access action menus regardless of the activity item's position in the scrollable list.

Verification

  • pnpm --dir src/web-ui run test:run src/flow_chat/components/modern/FlowChatHeader.test.tsx
    • Passed: 1 test file, 5 tests.
  • pnpm run type-check:web
    • Passed.
  • git diff --cached --check
    • Passed.

Reviewer Notes

The menu uses the existing fixed-popover viewport helper, which prefers below-anchor placement and flips above when needed. No user-facing strings or locale resources changed.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

- Render FlowChat background activity action menus through a fixed portal so they are not clipped by the activity panel scroll container.
- Reposition open menus on resize and scroll, including nested activity-list scrolling.
- Preserve outside-click behavior and add focused coverage for portal rendering and menu interaction.
@wsp1911
wsp1911 merged commit 5e55729 into GCWing:main Jul 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant