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

Fixes a glitch when dismissing a GIF in the media attachment viewer (#6475) #6476

Merged

Conversation

mgcm
Copy link
Contributor

@mgcm mgcm commented Jul 26, 2022

Pull Request Checklist

  • I read the contributing guide
  • UI change has been tested on both light and dark themes, in portrait and landscape orientations and on iPhone and iPad simulators
  • Accessibility has been taken into account.
  • Pull request is based on the develop branch
  • Pull request contains a changelog file in ./changelog.d
  • You've made a self review of your PR
  • Pull request includes screenshots or videos of UI changes
  • Pull request includes a sign off

Description

Fixes #6475 - Added logic to the interaction controller, when the interaction starts and cancels, so we can hide / show the WKWebView when the attachment is a GIF image type.

Video clip of issue

gif-webview-glitch.mp4

Video clip of solved issue

gif-webview-glitch-fixed.mov

mgcm added 2 commits July 26, 2022 00:21
…ch shows the animation would show in the background while the transition interaction occurred
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @mgcm thanks for your contribution. Looks good to me. I've added a few small style nits inline, otherwise happy to merge this.

Also bonus points for your gif in the recording 😅

mgcm and others added 6 commits August 4, 2022 23:11
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
…oller.m

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
…oller.m

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
@mgcm
Copy link
Contributor Author

mgcm commented Aug 4, 2022

thanks for the feedback @pixlwave - I will continue working in this area, as I've spotted some other issues with these interactions on the iPad.

@pixlwave
Copy link
Member

pixlwave commented Aug 5, 2022

Thanks for the updates. Would you like me to hold this PR for those changes or would you prefer to open separate ones?

@mgcm
Copy link
Contributor Author

mgcm commented Aug 5, 2022

No need to hold the PR, I will submit a new one, as they issues are not specific to GIF viewing.

@pixlwave pixlwave merged commit 6cb076b into element-hq:develop Aug 5, 2022
@pixlwave
Copy link
Member

pixlwave commented Aug 5, 2022

Super, PR merged. Thanks for you contribution 🙌

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.

Glitch when dismissing a GIF in the media attachment viewer
2 participants