RSS Feed/News CSS animations don't start from/end at 0 height

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,091
Points
823

Reputation:

When using XF.Animate.slideDown() and XF.Animate.slideUp() as replacements for jQuery.slideDown() and jQuery.slideUp(), you experience stilted animations.

XF.Animate.slideDown():
View attachment Screen Recording 2024-04-09 at 21.54.45.mov

XF.Animate.slideUp():
View attachment Screen Recording 2024-04-09 at 21.55.15.mov

Relevant JS code:
JavaScript:

Code:
for (let key in data.items)
{
    let item = data.items[key];

XF.setupHtmlInsert(item, ($html, container, onComplete) =>
    {
        let self = this;
        $html.style.display = 'none'...

Read more

Continue reading...
 
Status
Not open for further replies.
Top