Closed Bug 1433040 Opened 8 years ago Closed 8 years ago

"Reply" doesn't load the text in the response correctly

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: flod, Assigned: kohei)

References

Details

(Keywords: regression)

Looks like there was an update to BMO a few hours ago. Right now, replying to bugs is quite problematic. For example: https://bugzilla.mozilla.org/show_bug.cgi?id=1432159 1) Scroll to the very bottom of the page 2) Hit REPLY on the last comment The scrollbar flashes, but no text is loaded. Scroll the page, and the quoted text will appear. Now: 1) Clear the comment area 2) Scroll up to hide the comment area The text will reappear. Hitting REPLY on a comment when the comment area is much slower than before, but at least works as expected. I can replicate this on both Nightly 60.0a1 (2018-01-24) (64 bit) and Beta 59.0b3 (64 bit)
(In reply to Francesco Lodolo [:flod] from comment #0) > I can replicate this on both Nightly > 60.0a1 (2018-01-24) (64 bit) > > and Beta > 59.0b3 (64 bit) Same on 57.0.1 and 58, on a clean profile.
Blocks: 1432887
This is actually worse than I thought: I'm in the middle of writing a comment, scroll through the bug and find the "reply" text copied over many times. While replying to this bug (on a different Mac too), I managed to get one comment copied over 10 times.
I can confirm this regression too.
Will take a look shortly.
Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Keywords: regression
Seeing the same thing. Wondering if this only happens if the comment box is at the top with comments in reverse order, which is my weird configuration, or something... I can't imagine it's happening to everyone, purely from how confusing / wrong the behaviour is...
Two issues: * The `addEventListener` option is wrong! Should be `{ once: true }`, not `true` * The `scrollend` callback should always be fired because sometimes scroll doesn't happen PR coming shortly.
Also, I think it's not a regression from the previous push, but: * The entire comment form is not visible after scroll
I think the issue has already been solved by backing out my first PR in Bug 1429785 Comment 7.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.