frame is not defined

Created on 13 February 2024, 10 months ago

Problem/Motivation

Steps to reproduce

Scroll the page
click on the back to top button
error will be come in console
frame is not defined

Proposed resolution

I removed the frame var like this
- frame = requestAnimationFrame(animateScroll);
+ requestAnimationFrame(animateScroll);

- window.cancelAnimationFrame(frame);
+ // Cancel the animation on the event.
+ cancelAnimation();

Remaining tasks

User interface changes

API changes

Data model changes

Q

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India gulfam_drupal Bangalore

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024