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)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

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)
Assignee: nobody → gbrander
Target Milestone: --- → M4
It looks like pasting doesn't send an onChange event.
This works on desktop platform, but not on iOS -- find out what DOM events iOS sends for cut events.
This isn't working because we are using the `keyup` event -- iOS doesn't seem to fire this for cut events.
Assignee: gbrander → sfoster
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.