Title: Performance Feature Request
Last modified: August 22, 2023

---

# Performance Feature Request

 *  Resolved [Ryan Tvenge](https://wordpress.org/support/users/rtvenge/)
 * (@rtvenge)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/performance-feature-request/)
 * The admin UX of this plugin is awesome!
 * I unmininfied the `frontend.js` file and noticed that scroll sniffing is not 
   using `requestAnimationFrame()`.
 * Here’s an example how how we are doing it: [https://custom.hbserver.dev/wp-content/themes/hoverboard/parts/header/header.js](https://custom.hbserver.dev/wp-content/themes/hoverboard/parts/header/header.js)
 * Source: [https://css-tricks.com/using-requestanimationframe/](https://css-tricks.com/using-requestanimationframe/)
 * I would love to help out writing this if you have the source js file to work 
   with.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fperformance-feature-request%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/performance-feature-request/#post-16993761)
 * Hey [@rtvenge](https://wordpress.org/support/users/rtvenge/),
 * If you want, you can find the source files here: [https://github.com/Codeinwp/otter-blocks/tree/master/src/animation](https://github.com/Codeinwp/otter-blocks/tree/master/src/animation)
 * Make sure to create an issue so we can look this into details. Thank you!
 *  Thread Starter [Ryan Tvenge](https://wordpress.org/support/users/rtvenge/)
 * (@rtvenge)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/performance-feature-request/#post-16998512)
 * [@hardeepasrani](https://wordpress.org/support/users/hardeepasrani/) [PR](https://github.com/Codeinwp/otter-blocks/pull/1828)
   submitted.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Performance Feature Request’ is closed to new replies.

 * ![](https://ps.w.org/blocks-animation/assets/icon-256x256.png?rev=2619319)
 * [Blocks Animation: CSS Animations for Gutenberg Blocks](https://wordpress.org/plugins/blocks-animation/)
 * [Support Threads](https://wordpress.org/support/plugin/blocks-animation/)
 * [Active Topics](https://wordpress.org/support/plugin/blocks-animation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blocks-animation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blocks-animation/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ryan Tvenge](https://wordpress.org/support/users/rtvenge/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/performance-feature-request/#post-16998512)
 * Status: resolved