Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Adding an example for overscroll-behavior-x#2442

Merged
NiedziolkaMichal merged 13 commits intomdn:mainfrom
doanaminh:main
Feb 28, 2023
Merged

Adding an example for overscroll-behavior-x#2442
NiedziolkaMichal merged 13 commits intomdn:mainfrom
doanaminh:main

Conversation

@doanaminh
Copy link
Copy Markdown
Contributor

Description

Added another dimension to the existing overscroll-behavior example.
Isolated only the x-axis to emphasize that the overscroll-behavior property should only work in one dimension.

Motivation

Created an example with 2 dimensions to visually emphasize the effects of overscroll-behavior-x.

Additional details

There was not an existing example.

Related issues and pull requests

@github-actions
Copy link
Copy Markdown

It looks like this is your first pull request. 🎉 Thank you for your contribution! One of the project maintainers will triage and assign the pull request for review. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

Copy link
Copy Markdown
Member

@NiedziolkaMichal NiedziolkaMichal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this example, it looks good. I have added some comments about how I think it could be improved.

Comment thread live-examples/css-examples/basic-box-model/overscroll-behavior-x.html Outdated
Comment thread live-examples/css-examples/basic-box-model/overscroll-behavior-x.html Outdated
Comment thread live-examples/css-examples/basic-box-model/overscroll-behavior-x.html Outdated
Copy link
Copy Markdown
Contributor Author

@doanaminh doanaminh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made changes as requested by @sideshowbarker.

@NiedziolkaMichal NiedziolkaMichal mentioned this pull request Feb 23, 2023
94 tasks
Copy link
Copy Markdown
Contributor Author

@doanaminh doanaminh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Completed changes required to pass checks.

@github-actions
Copy link
Copy Markdown

This pull request has merge conflicts that must be resolved before it can be merged.

Copy link
Copy Markdown
Contributor Author

@doanaminh doanaminh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3rd attempt at getting changes fixed and rebasing the branch to get ready to merge.

@NiedziolkaMichal
Copy link
Copy Markdown
Member

It looks good :) Just fix those two eslint errors and we can merge:

live-examples/css-examples/basic-box-model/overscroll-behavior-x.css
 46:2  ✖  Delete "·"                            prettier/prettier
 46:2  ✖  Unexpected whitespace at end of line  no-eol-whitespace

@doanaminh
Copy link
Copy Markdown
Contributor Author

Okay, I deleted the whitespace so hopefully, it can merge this time!

@NiedziolkaMichal NiedziolkaMichal merged commit 10909b7 into mdn:main Feb 28, 2023
@NiedziolkaMichal
Copy link
Copy Markdown
Member

Thank you for your contribution, everything looks good.

@github-actions
Copy link
Copy Markdown

Congratulations on your first merged pull request. 🎉 Thank you for your contribution! Did you know we have a project board with high-impact contribution opportunities? We look forward to your next contribution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants