RSS Feed/News Minor bug in reply button

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
24,724
Points
823

Reputation:

I realized the odd behaviour of reply button. Checked the code and found the reason.

Problem: It scrools weird. Click it a few times in a row. Try that in a XF 2.2 website. It shouldn't be like that.

Solution: in message.js, in XF.QuoteClick, theres a line like this.
Code:

window.scrollTo({ top: qr.getBoundingClientRect().top - XF.getStickyHeaderOffset() })

It was like this in XF 2.2 and you converted into that. An acceptable mistake.
Code:

window.scrollTo({ top...

Read more

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