-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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 #27666 Inconsistent use of window.requestAnimationFrame v requestAnimationFrame #30341
Conversation
Preview URLs (comment last updated: 2024-03-13 10:07:29) |
@blindman67 I wonder if this contribution fix your issue, as I am not quite understand your meaning |
@skyclouds2001 No not fixed.
In the example code the use of |
Well, @blindman67 I understand what you mean now completely And my opinion is that, whether we use
For example:
Here I think use |
see also #10573 (comment) and #30329 (comment) |
Beside this, I agree that it is needed to consistent the usage of |
@blindman67 would you offer your idea on whether using |
Prefixing I have no strong feelings about these two solutions ( cc/ @wbamberg @Elchi3 that may have some extra insight here. |
Description
Motivation
Additional details
Related issues and pull requests
#27666
note that this may not a fix to #27666, as the issue creator suggest that use
requestAnimationFrame
instead ofwindow.requestAnimationFrame
, but in my view below, it is better to usewindow.requestAnimationFrame
, reasons are belowand @blindman67 did not give further response anymore