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

feat: add useScrollLock #104

Merged
merged 7 commits into from
Aug 4, 2024
Merged

feat: add useScrollLock #104

merged 7 commits into from
Aug 4, 2024

Conversation

immois
Copy link
Contributor

@immois immois commented Jul 20, 2024

πŸ“ Description:

A hook that disables scrolling in the document body.

βœ… Pull Request Checklist:

  • Add/Update feature.
  • Add/Update test.
  • Add/Update documentation.
  • Add/Update stories in storybook.
  • Bug fix.
  • Is this a breaking change

Copy link

changeset-bot bot commented Jul 20, 2024

πŸ¦‹ Changeset detected

Latest commit: bc407db

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@raddix/use-scroll-lock Major
@raddix/use-clipboard Minor
@raddix/use-scroll-position Minor
@raddix/use-window-size Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Jul 20, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 95.53%. Comparing base (f909d57) to head (bc407db).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
+ Coverage   95.30%   95.53%   +0.23%     
==========================================
  Files          26       27       +1     
  Lines         383      403      +20     
  Branches       86       86              
==========================================
+ Hits          365      385      +20     
  Misses         16       16              
  Partials        2        2              

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@immois immois marked this pull request as ready for review August 4, 2024 04:56
immois added 2 commits August 3, 2024 23:58
Remove dependencies on useWindowSize, useScrollPosition, and useClipboard.
@immois immois merged commit 74ab5a8 into main Aug 4, 2024
6 checks passed
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