-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
fix(drawer): fix drawer when changing drawertype (ex: front -> permanent) #10304
fix(drawer): fix drawer when changing drawertype (ex: front -> permanent) #10304
Conversation
…e permanent to prevent white stretched block
Hey shrief1234567899! Thanks for opening your first pull request in this repo. If you haven't already, make sure to read our contribution guidelines. |
What exactly is this fixing? |
✔️ Deploy Preview for react-navigation-example ready! 🔨 Explore the source changes: 338f7c9 🔍 Inspect the deploy log: https://app.netlify.com/sites/react-navigation-example/deploys/61f46da0fae4ab0007874d08 😎 Browse the preview: https://deploy-preview-10304--react-navigation-example.netlify.app/ |
fixing white block in screen when
if you do that you will notice white block beside drawer section |
I already made a fix in 5246574, what does this do additionally? |
i just changed undefined transform to be zero in translateX because without this change, we still face an issue (wrong position for drawer in middle of screen and white space beside it) when changing drawerType within Runtime from front to be permanent as appeared in video. |
Can you open a new bug report for the issue you encountered?
I can see that in the commit, but the mentioned commit (and the code comments) already say why I used |
umm, i removed using translateX and now i am using empty array instead of it, and it's also working fine for me. when we use undefined it cause a design bug (same bug in mentioned video) |
Codecov Report
@@ Coverage Diff @@
## main #10304 +/- ##
=======================================
Coverage 74.28% 74.28%
=======================================
Files 160 160
Lines 4881 4881
Branches 1850 1850
=======================================
Hits 3626 3626
Misses 1220 1220
Partials 35 35
Continue to review full report at Codecov.
|
can we merge it ? @satya164 |
I've been locked to 6.1.4 because the changes in 6.1.5 broke the drawer like this when switching the drawerType. This PR fixes it for me. |
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.
Can confirm []
fixes the issue. thank you
regarding to
#10210
and after latest updates for
5246574