Closed
Bug 562834
Opened 14 years ago
Closed 14 years ago
setFocus(true) on Bespin Embedded forces page scroll
Categories
(Skywriter Graveyard :: Embedded, defect)
Skywriter Graveyard
Embedded
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 565333
People
(Reporter: murky.satyr, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100413 Firefox/3.6.4 Build Identifier: See summary and steps. Reproducible: Always Steps to Reproduce: 1. Scroll down the page containing Bespin. (window.scrollY > 0) 2. Call setFocus(true). Actual Results: The page scrolls to top. Expected Results: No scroll.
Comment 2•14 years ago
|
||
Does Bespin use a textarea/input text control underneath? If yes, does it focus that text control when setFocus is called? If the answer to both of these questions are true, this might be a dupe of bug 562447 or bug 564115.
Comment 3•14 years ago
|
||
Bespin uses a textarea control to capture the user's input, but this is not used to display anything. Scrolling is managed by pure JS. Due to that, I don't think this bug is related to any of the bugs mentioned so far. @satyr: I tried to reproduce this bug on my Mac but I couldn't. Which version of Bespin did you use?
No longer blocks: 353539
(In reply to comment #3) > @satyr: I tried to reproduce this bug on my Mac but I couldn't. Which version > of Bespin did you use? 0.7.3. (test environment: first post's user-agent / test case: Bug URL) Just checked with today's nightly and the test passed. So I guess the issue is about incompatibility with Fx3.6.
Comment 5•14 years ago
|
||
OK, anyway, both bugs I mentioned in comment 2 have patches reviewed and ready for landing. Feel free to CC me here again if my help is needed on the browser side of things.
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•