-
Notifications
You must be signed in to change notification settings - Fork 163
fix: Container settings sidebar hidden in overflow menu #2468 #2475
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
base: master
Are you sure you want to change the base?
Conversation
8d63f8b
to
5eb64ab
Compare
5eb64ab
to
97a805d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2475 +/- ##
==========================================
- Coverage 94.71% 94.70% -0.01%
==========================================
Files 1202 1202
Lines 26845 26850 +5
Branches 6025 5873 -152
==========================================
+ Hits 25425 25429 +4
- Misses 1350 1362 +12
+ Partials 70 59 -11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Hi @ChrisChV @bradenmacdonald, @ahtesham-quraish has created this PR to fix the bug where the settings tab is hidden in an overflow menu for review when available! Thank you @ahtesham-quraish! |
fix: merge with master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be fixed in Paragon instead of just hacking around it in this MFE. The problem seems to be https://github.com/openedx/paragon/blob/67977fc39923eaae1fed08a0f0a99de295fc8b07/src/hooks/useIndexOfLastVisibleChildHook.tsx#L42-L45 and I think we can update it to use a more complicated calculation that never shows "a dropdown with one item when it would fit".
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { Tab, Nav } from 'react-bootstrap'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not be directly importing from react-bootstrap
. That's what the eslint warning import/no-extraneous-dependencies
is trying to tell you.
Future versions of Paragon may be refactored to not use bootstrap at all, so we should only use Paragon APIs.
Description
Container settings sidebar hidden in overflow menu #2468
Supporting information