Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
An issue was reported around modal bug issues that results in style issues due to the default to true.
Since then, isOverflowVisible was migrated to a required prop instead. But only in v23.
However, this still risks leaving several broken modals on v22 (e.g., with lengthy content and/or users collapse their window height).
[questions]
Should we at least be calling out the likelihood of consumers needing to pass isOverflowVisible on the v22 docs site?
The truthy default is breaking in v22, so without any explicit mention in the docs, consumers won’t know they have to provide it for their overflowed modal content to work correctly.
To mitigate potentially unresolved regressions that we don’t know about explicitly, should we change the default to false and explicitly opt-into the isOverflowVisible on only the components that actually need it versus impacting all components that may or may not need it (with possible unknown, existing regressions).
Notes:
In v22, we will change the default from true to false OR make the prop required.
Technically, but released as minor.
Be very explicit in release notes about the rationale.
frontend-lib-learning-assistant is a library supporting the 2U/edX Xpert AI feature.
It’s directly installed/consumed within openedx/frontend-app-learning.
The library imports Paragon’s styles via src/index.scss.
Concerns:
Re-importing likely results in unnecessary duplicate Paragon styles for the MFE.
The styles path for @openedx/paragon and @edx/brand have changed to support Paragon v23 in this file, meaning the change must be released as breaking (new major version).
Questions
Does this library actually needsrc/index.scss to re-import all of @openedx/paragon and @edx/brand?
If not, can this file be deleted?
Notes:
Iff we release as breaking, we want to merge React 18 support (non-breaking) before.
Should Paragon's compiled CSS include postcss-rtl like @openedx/frontend-build so that when Paragon's styles are imported from an external CDN URL as shown above, its styles properly handle RTL out-of-the-box?
See @openedx/frontend-build’s usage of psotcss-rtlcsshere.
Next steps:
Understand scope of problem further by testing various Paragon components with RTL style properties with and see what breaks.
Test side-by-side between Webpack (frontend-build) + Paragon styles (external CDN).
Potential resolution
Understand diffs between Webpack vs. external Paragon.
Add postcss-rtlcss to Paragon v23 styles and re-test.