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

fix: sticky of claim button #428

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

solidovic
Copy link
Contributor

@solidovic solidovic commented Aug 9, 2024

Description

Fix the claim button sticking (flashing) during scrolling.

Code review notes

The problem was due to changing the position of the block with the button in two ways, one after the other:

  • bottom: 0 as default in styled-component (each rendering the page)
  • directly via DOM (after scrolling between rendering the page)

It was solved: remove changing the position via DOM, and using pass position to styled-component

Testing notes

Check desktop and mobiles

Checklist:

  • Checked the changes locally.
  • Created / updated analytics events.
  • Created / updated the technical documentation (README.md / docs / etc.).
  • Affects / requires changes in other services (Matomo / Sentry / CloudFlare / etc.).

@solidovic solidovic marked this pull request as ready for review August 9, 2024 17:05
@solidovic solidovic requested review from a team as code owners August 9, 2024 17:05
@preview-stands
Copy link

preview-stands bot commented Aug 9, 2024

Preview stand status

Stand was demolished

DiRaiks
DiRaiks previously approved these changes Aug 13, 2024
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.

3 participants