Skip to content

feat(design): add configurable menu position and scrollable overflow#4541

Open
xelaint wants to merge 1 commit into
developfrom
feat/menu-position-height
Open

feat(design): add configurable menu position and scrollable overflow#4541
xelaint wants to merge 1 commit into
developfrom
feat/menu-position-height

Conversation

@xelaint

@xelaint xelaint commented Jun 22, 2026

Copy link
Copy Markdown
Member

PR Checklist

  • Commit message follows our contributing guidelines
  • Tests added/updated (for bug fixes/features)
  • Documentation added/updated (for bug fixes/features)

PR Type

  • Bug fix
  • Feature
  • Style update
  • Refactor
  • Test
  • Build
  • CI
  • Docs
  • Performance
  • Other (please describe)

Current behavior

Fixes: #4202
Fixes: #4533

New behavior

Add xPosition (before/after) and yPosition (above/below) inputs to the menu activator so a menu can open above or below its activator and align to either edge. Position is threaded through DaffMenuConfig into the overlay's connected position and its max-height calculation, so the panel stays anchored to the activator and scrolls its content in place when it is taller than the available space.

Breaking change?

  • Yes
  • No

Additional context

@xelaint xelaint requested review from a team as code owners June 22, 2026 19:11
@xelaint xelaint added package: design @daffodil/design status: pending review This PR is awaiting review or response from a reviewer before the author can proceed. labels Jun 22, 2026
@xelaint xelaint requested a review from damienwebdev June 22, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: design @daffodil/design status: pending review This PR is awaiting review or response from a reviewer before the author can proceed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Max height should be a feature of DaffMenuModule Add position options for DaffMenuModule

1 participant