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 body scroll locking feature #4
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4 +/- ##
==========================================
+ Coverage 97.67% 98.96% +1.29%
==========================================
Files 11 11
Lines 86 97 +11
Branches 13 15 +2
==========================================
+ Hits 84 96 +12
+ Misses 2 1 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go! 🚀
Co-authored-by: André Costa Lima <andreclima.pt@gmail.com>
Co-authored-by: André Costa Lima <andreclima.pt@gmail.com>
Co-authored-by: André Costa Lima <andreclima.pt@gmail.com>
This MR adds
lockBodyScroll
prop toDrawer
component so that body scroll can be locked whenever the drawer is open.This prop is set to
true
by default. However, this behavior can be changed by setting it tofalse
.