foliate-js icon indicating copy to clipboard operation
foliate-js copied to clipboard

On iOS, the text selection gesture is treated as a swipe to navigate to the next or previous page

Open phuongduyphan opened this issue 5 months ago • 1 comments

On iOS, when the book is in paginated flow, trying to drag the text selection handle to highlight a sentence is not possible. The system often misinterprets this as a swipe gesture, causing the page to turn instead of letting me select text. It's working fine on Android. Any suggestions for fixing this?

phuongduyphan avatar Jun 26 '25 00:06 phuongduyphan

I cannot reproduce this in Readest on iOS, so probably this is not a problem in foliate-js. Adding this meta in the html header might help:

<meta name='viewport' content='minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no, user-scalable=no, viewport-fit=cover'
/>

chrox avatar Jul 08 '25 07:07 chrox