Skip to content

fix(prop-panel): scroll-aware popover height + explicit Done button#188

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jun 17, 2026
Merged

fix(prop-panel): scroll-aware popover height + explicit Done button#188
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

No description provided.

…#1937)

Two of the four strands in the PRD-7058 cluster — the two with clear
scope. #3 (Align broken) did not reproduce once #2 was fixed; the
reporter had no path to reach the Align field through the un-
scrollable popover. #4 (drag-resize for image/PDF) is a separate
feature and lands in its own PR.

  1. **#2 popup scroll** — `max-h-[calc(100vh-2rem)]` ignored the
     popover's top position, so a popover positioned 200px down the
     viewport was capped at the FULL viewport height — overflowed off-
     screen and never engaged its internal scroller. Switch to
     `max-h-[var(--radix-popper-available-height)]`, which Radix's
     Popper plugin pre-computes as "height available between the
     anchor and the chosen-side viewport edge." The popover now caps
     at the actual available space, so its `overflow-y-auto` engages
     and every advanced prop becomes reachable.
  2. **#1 silent dismiss** — add an explicit "Done" button at the
     bottom of the popover, separated from the form by a top border.
     PropPanel still auto-saves on every keystroke / select change
     (the button doesn't gate the write); the affordance gives users
     the psychological closure UX research flagged was missing
     ("I just write, and it just, like, disappears"). Click closes
     the popover; the existing `onCloseAutoFocus` editor-refocus path
     handles focus restore.

GitOrigin-RevId: 1e721d365b69fee7904d4d88c8c8e9303add8a99

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/27721932693). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync
inkeep-oss-sync Bot merged commit ea4adb7 into main Jun 17, 2026
2 checks passed
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch June 17, 2026 21:50
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