This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix
#76
- set scrollTop property of element node rather than use scrollTo() method
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
b60430fe8f
commit
b304cc07d5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/assets/javascripts/components/features/ui/components/column.jsx
+ 1
- 1
app/assets/javascripts/components/features/ui/components/column.jsx
View File
@ -18,7 +18,7 @@ const scrollTop = (node) => {
return
;
}
node
.
scrollTo
(
0
,
easingOutQuint
(
0
,
elapsed
,
offset
,
targetY
,
duration
)
)
;
node
.
scrollTo
p
=
easingOutQuint
(
0
,
elapsed
,
offset
,
targetY
,
duration
)
;
requestAnimationFrame
(
step
)
;
}
;
Write
Preview
Loading…
Cancel
Save