Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dropdown menus show over the sidebar #74

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

pomegranited
Copy link
Member

Moved the sidebar to the same z-index as the header, because layout dictates that the sidebar sits above the header anyway. So could move the dropdown menus up to above the sidebar without using a silly z-index.

Screenshot 2024-10-25 130436

Expand button is still ok:

image

Builds on openedx#1438

Testing instructions

  1. Go to library home of a library
  2. Click on a component card to open the component info sidebar
  3. Click on the ... menu on the component card
  4. Verify that the dropdown menu appears over the sidebar
  5. Verify that the sidebar dropdown menu still appears over the Expand button

Moved the sidebar to the same z-level as the header, because layout
dictates that it sits above it anyway.

So could move the dropdown menus up to above the sidebar.
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (chris/FAL-3873-expand-issue@ea1d8f2). Learn more about missing BASE report.

Additional details and impacted files
@@                      Coverage Diff                       @@
##             chris/FAL-3873-expand-issue      #74   +/-   ##
==============================================================
  Coverage                               ?   93.16%           
==============================================================
  Files                                  ?     1054           
  Lines                                  ?    20467           
  Branches                               ?     4285           
==============================================================
  Hits                                   ?    19068           
  Misses                                 ?     1339           
  Partials                               ?       60           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ChrisChV ChrisChV left a comment

Choose a reason for hiding this comment

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

Looks good 👍

  • I tested this: I followed the testing instruction
  • I read through the code and considered the security, stability and performance implications of the changes.
  • I tested that the UI can be used with a keyboard only (tab order, keyboard controls).
  • Includes tests for bugfixes and/or features added.

@pomegranited pomegranited merged commit df42569 into chris/FAL-3873-expand-issue Oct 25, 2024
7 checks passed
@pomegranited pomegranited deleted the jill/menu-over-sidebar branch October 25, 2024 02:59
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.

2 participants