-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui-layout): position should account for documentElement offset
refs: INSTUI-2046 This change fixes an issue with the Position component noticed when the html element has an offsetTop. This often occurs due to the no-scroll library currently in use with our Mask component. TEST PLAN: - create a modal that contains a select - ensure select is positioned correctly - ensure all position examples render correctly - there should be no regressions to any component using Position - unit tests should pass Change-Id: Id93286019acd2e4b3e67e073453e11e4e375d2e7 Reviewed-on: https://gerrit.instructure.com/190531 Tested-by: Jenkins Reviewed-by: Jennifer Stern <jstern@instructure.com> Product-Review: Jennifer Stern <jstern@instructure.com> QA-Review: Omar Khan <okhan@instructure.com> Visual-Regression-Test: Daniel Sasaki <dsasaki@instructure.com> Reviewed-on: https://gerrit.instructure.com/190883 Reviewed-by: Steve Jensen <sejensen@instructure.com> QA-Review: Steve Jensen <sejensen@instructure.com> Product-Review: Steve Jensen <sejensen@instructure.com> Visual-Regression-Test: Chris Hart <chart@instructure.com>
- Loading branch information
Showing
3 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters