Closed
Bug 665175
Opened 14 years ago
Closed 13 years ago
Filter should revert after cutting all the words out of the filter box
Categories
(Pancake Graveyard :: Front-end, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
M4
People
(Reporter: nhirata, Assigned: sfoster)
Details
1. log in
2. type in Hacker in the filter box
3. hit done
4. long tap on the word hacker and select "select all" -> "cut"
5. hit done and pan down
Expected: the website list is not filtered anymore
Actual: the website list is still filtered
Device: iPhone 3GS
iOS: 4.3.3 (8J2)
Updated•14 years ago
|
Assignee: nobody → gbrander
Target Milestone: --- → M4
Comment 1•14 years ago
|
||
It looks like pasting doesn't send an onChange event.
Comment 2•14 years ago
|
||
This works on desktop platform, but not on iOS -- find out what DOM events iOS sends for cut events.
Comment 3•13 years ago
|
||
This isn't working because we are using the `keyup` event -- iOS doesn't seem to fire this for cut events.
| Assignee | ||
Updated•13 years ago
|
Assignee: gbrander → sfoster
| Assignee | ||
Comment 4•13 years ago
|
||
Fixed in https://bitbucket.org/mozillapancake/pancake/changeset/d49513022ac8
Note that per: http://stackoverflow.com/questions/686995/jquery-catch-paste-input, a setTimeout is needed to read the updated value of the field after the cut/paste event.
Both cut and pasted updates to the search input should work now
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•