Closed
Bug 804829
Opened 12 years ago
Closed 9 years ago
Cursor thumb scrolls when pointing to a position fixed textbox
Categories
(Firefox for Android Graveyard :: Text Selection, defect)
Firefox for Android Graveyard
Text Selection
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: wesj, Unassigned)
Details
Attachments
(1 file)
10.02 KB,
patch
|
Details | Diff | Splinter Review |
Noticed this on the netflix login box. The login box is in a position fixed popup window. Scrolling the page does not scroll the login box, but does scroll the thumb.
STR:
Go to netflix.com (desktop site)
Tap member sign in
Focus the textbox
Scroll the page
Comment 1•12 years ago
|
||
I wonder if the same thing happens if there's active text selection on a position:fixed; text element.
Comment 2•12 years ago
|
||
Yup, same thing happens there. If we can reliably tell that the selection is on a fixed-position element then we should be able to tell java to not move the handles on panning, which should fix this problem. Alternatively we could re-send the PositionHandles message every time we pan while having a selection on a fixed-position element. I don't think that would work nearly as well though.
Comment 4•12 years ago
|
||
This is harder than I thought. The attached patch takes care of not moving the handles when they're on a fixed-position element and you scroll. However if you zoom they go out of whack, and also if you go into overscroll they don't move even though the fixed-position content does.
Comment 5•12 years ago
|
||
(In reply to Kartikaya Gupta (:kats) from comment #2)
> Alternatively we
> could re-send the PositionHandles message every time we pan while having a
> selection on a fixed-position element. I don't think that would work nearly
> as well though.
Now I think this other approach might be the right way to go. Feel free to grab this bug from me though, I'm gonna switch contexts to something else now.
Comment 6•12 years ago
|
||
Unassigning from myself since I'm not really working on this and bnicholson seems to have taken over the text selection code :)
Assignee: bugmail.mozilla → nobody
Comment 7•12 years ago
|
||
There's other issues with scrolling + showing the handle, such as scrolling a <textarea> that overflows (see http://people.mozilla.com/~bnicholson/test/form.html).
Maybe we could just hide the handle whenever its document is scrolled?
Comment 8•12 years ago
|
||
That's not a bad idea. We'd have to make sure though that if you're dragging a selection handle past the end of the page to scroll it and continue selecting that still works as intended.
Comment 9•9 years ago
|
||
Pruning some old bugs obviated by new Core/Layout AccessibleCaret implementation.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•