Opened 10 years ago
Closed 10 years ago
#12480 closed defect (fixed)
scrollable is unnecessarily collapsing the current document selection
Reported by: | Douglas Hays | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.6.0 |
Keywords: | 1.7-mobile | Cc: | |
Blocked By: | Blocking: |
Description
scrollable:addCover does a collapse of the window's selected text. This is breaking ComboBox which highlights the autocompleted text in a textbox that is unrelated to the touch/scroll DIV that is being scrolled/transformed. The collapse also hides the cursor from the ComboBox textbox.
Change History (3)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The problem is not the cover, but the selection code at the end of addCover which destroys focus:
It was basically for IE. IE unexpectedly makes selection when you try to do touch-scrolling. I found that setSelectable(this._cover, false); could prevent the selection. The above code in no longer necessary.