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

BREAKING CHANGE(web): Turn off scrolling inside ModalDialog by default #DS-1184 #1412

Merged
merged 1 commit into from
May 18, 2024

Conversation

adamkudrna
Copy link
Contributor

@adamkudrna adamkudrna commented May 15, 2024

Description

  • Make ModalDialog non-scrollable by default, i.e. the whole Modal scrolls when larger than viewport.
  • Clarify how custom height and max height works, limit this feature only to scrollable ModalDialog.

TODO

  • Make custom height demo more interactive

Issue reference

https://jira.almacareer.tech/browse/DS-1184

Copy link

netlify bot commented May 15, 2024

Deploy Preview for spirit-design-system ready!

Name Link
🔨 Latest commit 8e277b5
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system/deploys/6648682291a33800079b3134
😎 Deploy Preview https://deploy-preview-1412--spirit-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (🟢 up 1 from production)
Accessibility: 93 (no change from production)
Best Practices: 100 (no change from production)
SEO: 82 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the BC Breaking change label May 15, 2024
@coveralls
Copy link

coveralls commented May 15, 2024

Coverage Status

coverage: 78.742% (-18.2%) from 96.911%
when pulling 8e277b5 on bc/modal-scrolling
into 52cad76 on integration/release-v2.

packages/web/DEPRECATIONS-v2.md Outdated Show resolved Hide resolved
packages/web/src/scss/components/Modal/README.md Outdated Show resolved Hide resolved
packages/web/src/scss/components/Modal/README.md Outdated Show resolved Hide resolved
packages/web/src/scss/components/Modal/README.md Outdated Show resolved Hide resolved
packages/web/src/scss/components/Modal/_ModalDialog.scss Outdated Show resolved Hide resolved
packages/web/src/scss/components/Modal/_theme.scss Outdated Show resolved Hide resolved
packages/web/src/scss/components/Modal/index.html Outdated Show resolved Hide resolved
packages/web/src/scss/components/Modal/index.html Outdated Show resolved Hide resolved
@adamkudrna
Copy link
Contributor Author

Custom height and max height demo was improved in #1422.

@adamkudrna adamkudrna merged commit e568cd2 into integration/release-v2 May 18, 2024
13 checks passed
@adamkudrna adamkudrna deleted the bc/modal-scrolling branch May 18, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BC Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants