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

Mobile: Fixes #7918: Use react-native-drawer-layout instead of react-native-side-menu-updated #7953

Merged
merged 16 commits into from
May 16, 2023

Conversation

jcgurango
Copy link
Contributor

@jcgurango jcgurango commented Mar 21, 2023

There is currently a bug on Android on Samsung Galaxy S21 and S22 phones where you can't use the swipe gesture to open the menu. I have not been able to confirm on any other devices whether or not this is an issue, but I tracked it down and the issue seems to be related to how the library react-native-side-menu-updated handles the gesture. I don't have any further information than that, but simply replacing the side menu with DrawerLayoutAndroid on Android devices seems to fix the issue.

Related issue: #7918

@github-actions
Copy link
Contributor

github-actions bot commented Mar 21, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@jcgurango
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@jcgurango
Copy link
Contributor Author

recheck

github-actions bot added a commit that referenced this pull request Mar 21, 2023
Not really sure why this is happening, but for some reason if it's
set to "onChange", then editing the title of a note makes the drawer
pop out again. Very strange.
@jcgurango
Copy link
Contributor Author

I don't have an iOS device to test with but if this issue also occurs on it, perhaps it'd be better to use a more recently updated library like react-native-drawer-layout?

@laurent22
Copy link
Owner

Yes, if you can make it work with a more recent library that would be great. Some of the RN libs we use are very old and no longer maintained

@tessus tessus added the android label Mar 24, 2023
@jcgurango
Copy link
Contributor Author

Ok I've replaced the library instead @laurent22, can confirm it's working well on Android. Although, somebody with an iOS environment needs to test how it works on iOS and update pods, too.

@jcgurango jcgurango changed the title Mobile: Fixes #7918: Use DrawerLayoutAndroid on Android Mobile: Fixes #7918: Use react-native-drawer-layout instead of react-native-side-menu-updated Mar 26, 2023
@laurent22
Copy link
Owner

CI is failing. You need to run yarn install and commit

@jcgurango
Copy link
Contributor Author

jcgurango commented Apr 10, 2023

@laurent22 are you able to build the latest from dev? I seem to be getting this from the metro bundler:
image

Edit: Hmm might be an issue with my branch, not getting it with current upstream/dev

@laurent22
Copy link
Owner

That looks good @jcgurango. Would you mind fixing the conflicts so that we can merge?

@jcgurango
Copy link
Contributor Author

Updated @laurent22

@laurent22
Copy link
Owner

Thanks!

@laurent22 laurent22 merged commit 40e0037 into laurent22:dev May 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants