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

Allow updating anchor on every animationFrame. #87

Merged
merged 9 commits into from
Mar 9, 2023

Conversation

jgerigmeyer
Copy link
Member

@jgerigmeyer jgerigmeyer commented Mar 2, 2023

Fixes #73.

@netlify
Copy link

netlify bot commented Mar 2, 2023

Deploy Preview for anchor-polyfill ready!

Name Link
🔨 Latest commit 6c62eba
🔍 Latest deploy log https://app.netlify.com/sites/anchor-polyfill/deploys/64060c1f773895000834053a
😎 Deploy Preview https://deploy-preview-87--anchor-polyfill.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 2, 2023

Deploy Preview for anchor-position-wpt canceled.

Name Link
🔨 Latest commit 6c62eba
🔍 Latest deploy log https://app.netlify.com/sites/anchor-position-wpt/deploys/64060c1f9b733a0008cfbe26

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2023

@jgerigmeyer jgerigmeyer marked this pull request as ready for review March 3, 2023 19:50
@jgerigmeyer jgerigmeyer requested a review from jerivas March 3, 2023 19:51
@jgerigmeyer
Copy link
Member Author

@sanajaved7 @jerivas This exposes an opt-in API for updating on animationFrame, in addition to the usual resize/scroll. This seems to fix at least most examples in #73 (e.g. drag-and-drop).

* main:
  chore(deps): Automated dependency upgrades
Copy link
Member

@jerivas jerivas left a comment

Choose a reason for hiding this comment

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

Not 100% familiar with what's going on, but from what I can gather it all makes sense

Copy link
Contributor

@sanajaved7 sanajaved7 left a comment

Choose a reason for hiding this comment

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

🚀 ✨

@jgerigmeyer jgerigmeyer merged commit 6222c88 into main Mar 9, 2023
@jgerigmeyer jgerigmeyer deleted the animation-frame-api branch March 9, 2023 14:51
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.

Update when anchor moves
3 participants