Closed
Bug 1352857
Opened 7 years ago
Closed 4 years ago
suggested method for determining whether element has scrolled to end is inaccurate
Categories
(Developer Documentation Graveyard :: API: DOM, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: teo8976, Unassigned)
References
()
Details
:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details This statement is complete ****: > The following equivalence returns true if an element is at the end of its scroll, false if it isn't. > element.scrollHeight - element.scrollTop === element.clientHeight It can be easily verified that it is not always true at least for the body element. The following minimal and trivial example demonstrates that element-scrollTop+element.clientHeight can be > element.scrollHeight when the scrollbar is at the bottom: http://output.jsbin.com/namimideva
Updated•7 years ago
|
Component: General → API: DOM
Priority: P1 → --
Updated•5 years ago
|
Priority: -- → P5
Comment 1•4 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•