Closed
Bug 102649
Opened 23 years ago
Closed 23 years ago
No scrollTo on Textboxes makes chat HARD to make.
Categories
(Core :: XUL, defect)
Tracking
()
People
(Reporter: nphinity, Assigned: hyatt)
Details
The textbox element, along with some other elements that scroll lack an onScroll
fcuntion. This becomes especially troublesome when making an IRC style chat
interface. All chat interfaces need to scroll to the bottom of the text when a
new event is added to the history window.
To get around this I had to make an iFrame and add description elements to it
dynamically with JS. While this does work, it is a pain to implement, and if I
wanted the content to be editable by the user, I would be SOL.
Furthermore, since I needed to dynamically create tab pages for channels, I had
to store the various channels histories in objects, and then switch them out
with one iFrame. This is because, as of the time of this post, dynamically
created iFrames do not have a document property to add elements to.
Suffice it to say, a simple scrollTo function would make creation of IRC style
interfaces much simpler.
Comment 1•23 years ago
|
||
duplicate of "[RFE] function/property to get scroll position of elements"
(that's where work on this is happening).
*** This bug has been marked as a duplicate of 62536 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•