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

Improved extensibility of CTA button portals #849

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

fkloes
Copy link
Collaborator

@fkloes fkloes commented Oct 25, 2019

Description

This ticket solves and issue at the PDP on iOS 13 devices. When additional buttons where added to the CTA button Portals, they flickered when the user scrolled the page.

We already tried to fix the issue earlier, but applied the optimization only to the buttons within the main Portal. The new approach from this PR applies to the fix to the Media components, instead of the CTAButton component.

Type of change

  • Bug Fix 🐛 (non-breaking change which fixes an issue)
  • Enhancement 🚀 (non-breaking change which adds functionality)
  • Breaking Change 💥 (fix or feature that would cause existing functionality to not work as expected)
  • Polish 💅 (Just some cleanups)
  • Internal 🏠 Only relates to internal processes.

How to test it

Checkout and attach the ext-pdp-native-share extension and open a PDP on an iOS 13 device. Scroll a little bit and check if the CTA buttons are still flickering.

- optimized component styles of the Media and ProductHeader components to avoid flickering of CTA buttons on iOS 13 devices
@fkloes fkloes added the bug Something isn't working label Oct 25, 2019
@fkloes fkloes self-assigned this Oct 25, 2019
@devbucket devbucket merged commit f6dba7b into v6.9.0 Oct 28, 2019
@devbucket devbucket deleted the PWA-2333-share-buttons-cut-off branch October 28, 2019 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants