baker icon indicating copy to clipboard operation
baker copied to clipboard

zoom problem

Open hitchio opened this issue 14 years ago • 5 comments

hello! if i set - "zoomable": true, - i´m able to zoom on doubleclick. but this also opens index, too. so everytime i want to call the index, my page also is zooming the same time. how do i prevent this issue?

thanx for help. h

hitchio avatar Oct 01 '12 07:10 hitchio

problem not solved - sorry

hitchio avatar Oct 01 '12 08:10 hitchio

There's no solution unfortunately, because we need to trigger the index in some way and the best way right now is on double tap. Unfortunately the two gestures overlap.

That's one of the reasons why we suggest to avoid zooming, usually it's not needed. :)

folletto avatar Oct 01 '12 08:10 folletto

you´re right - that´s just fun.

hitchio avatar Oct 01 '12 08:10 hitchio

How about some extra settings in the json file that will allow you to set what triggers the index(contents page):

  • double-tap as it is now
  • swipe from the edge of the screen, same way we open notification area, only from the bottom of the page (I've seen this in an app, can't remember which)
  • some javascript function so that the user can place a custom button/graphic/link on each page to toggle the index

Also, having a setting that will allow or disable the double tap to zoom might be useful for some people, but I believe is the 'natural' behaviour if you enable the book to be zoomable

cipnt avatar Oct 11 '12 09:10 cipnt

In general terms, the reason is simple: consistency. We don't want to introduce big alternative behaviours from the ones that are already common in other apps (where the index is either shown with one or two taps).

That said, we have Issue #350 planned to allow the third option you just quoted. ;)

folletto avatar Oct 11 '12 09:10 folletto