I am trying to render a ScheduleComponent inside a flex container. I am able to get the scheduler to fill its container. However, the Quick Info popup opens up off the bottom of the screen when clicking items near the bottom of the scrollable area (the parent flex area has overflow: hidden).
Here is a screenshot of what it looks like:
My layout is something like this:
<div className="schedule-wrapper">
<div className="scheduler">
<ScheduleComponent />
</div>
<div className="schedule-footer"> ...footer data... </div>
</div>
I have then styled the elements like this:
.scheduler-wrapper {
flex: auto;
overflow: hidden;
display: flex;
flex-direction: column;
gap: 1em;
.e-schedule {
flex: 1;
min-height: 0;
}
}
I have also assigned the ScheduleComponent's width property to "100%".
Is there a way to force the QuickInfo popup to render inside a react Portal or something? How can I fix this issue?
One last thing to note: When I have the QuickInfo popup open, if I use my mouse wheel to scroll the scrollable area in the ScheduleComponent, the popup quickly snaps into the viewable area. Here is a screenshot of what it looks like after scrolling 1 tick upward: