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

Wrap PDF in TouchableWithoutFeedback #6169

Merged

Conversation

CamilaRivera
Copy link
Contributor

Details

Trap events bubbling up from PDF preview to avoid opening the context menu with two fingers.

Fixed Issues

$ #5870

Tests | QA Steps

  1. Open a report on mobile
  2. Send a PDF
  3. Open the preview (Tap on the PDF thumbnail)
  4. Hold 2 fingers over the PDF, you shouldn't be able to see the context menu

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

Prevents two finger touch event to bubble up
@CamilaRivera CamilaRivera requested a review from a team as a code owner November 2, 2021 03:12
@MelvinBot MelvinBot requested review from Luke9389 and removed request for a team November 2, 2021 03:12
@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2021

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

@CamilaRivera
Copy link
Contributor Author

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

@Luke9389 Luke9389 changed the title Wrap PDF in TouchableWithoutFeedback [HOLD] Wrap PDF in TouchableWithoutFeedback Nov 2, 2021
@Luke9389
Copy link
Contributor

Luke9389 commented Nov 2, 2021

@CamilaRivera we have a [HOLD] on merging right now that's expected to last about a week and a half or so. (Just FYI)

@CamilaRivera
Copy link
Contributor Author

@CamilaRivera we have a [HOLD] on merging right now that's expected to last about a week and a half or so. (Just FYI)

Ok, thanks @Luke9389 for letting me know!

@parasharrajat
Copy link
Member

@Luke9389 This is awaiting merge.

@parasharrajat
Copy link
Member

@CamilaRivera Could you please attach the screen recording in the description of the fix?

@Luke9389 Luke9389 changed the title [HOLD] Wrap PDF in TouchableWithoutFeedback Wrap PDF in TouchableWithoutFeedback Nov 19, 2021
@Luke9389 Luke9389 merged commit 38648dd into Expensify:main Nov 19, 2021
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @Luke9389 in version: 1.1.15-18 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @roryabraham in version: 1.1.16-10 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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.

4 participants