Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6271

use portal in editing document menu crud view

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: CRUD, UI / UX
    • None
    • 3
    • Not Needed

      Currently we pass `usePortal={false}` to the `Menu` shown when adding a field to a document view in the crud (and in add a document modal). Let's update it to `usePortal={true}` (the default behavior https://www.mongodb.design/component/menu/example/ ) so that it doesn't get cut off and cause scrolling issues on the page.

      We'll want to pass a scroll container ref, maybe something that can be passed through context and a provider.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: