Minor bug in reply button

  • Thread starter Thread starter Vavien
  • Start date Start date

Vavien

Guest
Member
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({...

Read more

Continue reading...
 
Top