Bug Minor bug in reply button

There is a bug in this version
V

Vavien

Guest
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...