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

First part of the fix for the info side panel not displayed in Internet Explorer #9103

Closed

Conversation

MisRob
Copy link
Member

@MisRob MisRob commented Feb 14, 2022

Fixes the info side panel not displayed in IE after clicking the info button (#9100). See the commit message for an explanation.

However, I tested this fix on the bookmarks page only, and even though the side panel appears now in Internet Explorer as expected for me, there still needs to be some work done. It seems that over time we somehow updated styles related to positioning the close button in the full-screen side panel and after fixing the calculation in this PR, the button seems to be off now in ALL browsers:

(1) When there are some learning activities
Screenshot from 2022-02-14 14-00-26

(2) No learning activities or when the header slot is empty
Not sure if it happens with production data but in any case FullScreenSidePanel should be ready for this situation since the header slot is optional or when learning activities would be missing.

Screenshot from 2022-02-14 14-01-35

I might have also overlooked something and so far was debugging on Browserstack where things were getting quite stuck. Since #9100 seems to be a blocker to the release, I'm opening a draft PR if someone would like to finish this sooner, before I can get to it again.

There was a missing px unit after this.fixedHeaderHeight value
in CSS `calc` which seems to cause the side panel not appear
at all in Internet Explorer. `calc` has been removed completely
because it's not needed for this particular calculation where
both values have the same px unit.

Fixes learningequality#9100
@MisRob
Copy link
Member Author

MisRob commented Feb 15, 2022

Closing in favor of #9080, where the problematic calculation has been removed completely as part of a larger refactor and where @marcellamaki also added fixes for buttons positions. Thank you, @marcellamaki, @radinamatic, and @pcenov.

@MisRob MisRob closed this Feb 15, 2022
@MisRob MisRob deleted the side-panel-fix branch June 27, 2022 11:26
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.

1 participant