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
Increasing scrolling room for question lists in MultiPaneLayout
#8143
Conversation
@indirectlylit re:
I did notice those empty spaces. I haven't been able to find those as known issues, but I don't actually know what it should look like. I'm happy to file an issue, but I would need some help to complete the "Expected Behavior" portion of the issue. |
I think we used to show the |
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.
Looks good! I made an issue for the missing icon bug.
thanks both! |
Summary
Removed the
maxHeight
calculations for theMultiPaneLayout
container because the original issue (#6945) is partially caused by the header of this component being non-responsive, and thus, when the window height is reduced, the header continues to take up the same amount of space in the visible window (also seen in #6900), which causes the remaining portions (theaside
andmain
parts) of the component to shrink dramatically to fit. Removing the calculation allows for the bottom portion to be fully visible on page scroll.Because this component is used in several places, changes are also documented below. There is also tech debt in this component, and that has been filed as a separate issue.
LessonContentPreviewPage
(The main issue)NOTE: The reason this particular component has major problems with the
MultiPaneLayout
is because of all of the information in theheader
. Other components tend not to have such an obvious issue.ExamReport
LearnerExercisesReport
QuestionLearnersReport
References
MultiPaneLayout
with K*components #8141Reviewer guidance
To see the original issue,
LessonContentPreviewPage
ExamReport
LearnerExerciseReport
LearnerExerciseReport
QuestionLearnersReport
QuestionLearnersReport
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)