Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting stuck on certain searches #37

Open
veltman opened this issue Mar 12, 2014 · 4 comments
Open

Getting stuck on certain searches #37

veltman opened this issue Mar 12, 2014 · 4 comments

Comments

@veltman
Copy link

veltman commented Mar 12, 2014

Paging through search results seems to fail at certain spots.

To reproduce:

http://www.documentcloud.org/documents/1004523-christie-document-exhibit-b.html#document/p1

  1. Search for the word "general".
    -Shows matching page 1 of 60.
  2. Advance to the next result twice using the "Next" button in the top-middle of the viewer.
  3. It's now on matching page 3 of 60, which is page 30 in the document. It has no highlighted match. At this point, clicking either the "Previous" or "Next" button does nothing.

Searching for "jersey" causes the same problem when you hit the second matching page (page 9 in the document).

Occurred in both Chrome 33.0.1750.149 and Firefox 27.0.1.

@jashkenas
Copy link
Member

Also, the search box looks a little bit broken on DocumentCloud.org, which is never a good thing...

@knowtheory
Copy link
Member

@jashkenas which search box, and in what way does it look broken? (saf, ff & chrome look alright in Mavericks, and i don't have a machine to check IE at the moment)

@veltman i suspect that the search feature in the viewer freaks out when there's a mismatch between what it's been told and what's on page. I'll need to track down whether the API is misreporting what's in the doc, or the viewer is doing something strange.

@knowtheory
Copy link
Member

Ah, i notice that the x button is a bit out of place.

@samuelclay
Copy link
Member

The search box is also offset a bit too low in latest Safari.

screen shot 2014-03-13 at mar 13 10 33 06 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants