Skip to content

Fix CRM drawer positioning

Lee Tickett requested to merge 2256-fix-drawer-positioning into master

&7346 (comment 906148092)

In the create/edit form for contacts and organizations, the drawer has a fixed height, which cuts off part of the form and requires scrolling to complete.

This MR fixes the relative/absolute positioning of the drawer on the CRM contacts and organizations pages (when clicking the new / edit buttons)

Screenshots

Thank you @mgandres for the videos (I neglected to add them... my excuse... GitLab no longer populates the MR template with the hints 😆

before after
before after

Validation steps

https://docs.gitlab.com/ee/user/crm/

  1. enable crm feature flag
  2. enable crm for a root group
  3. access crm contacts/organizations page
  4. click the new/edit button and check the positioning of the drawer
  5. scroll down and ensure the draw position remains "fixed" (if you need some more contacts/organizations to help you scroll, run bundle exec rake db:seed_fu FILTER=crm)

Related to #2256

Edited by Lee Tickett

Merge request reports

Loading