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

Prevent Click Any Position To Trigger Turn Page Event #17

Open
pang-lee opened this issue Feb 28, 2021 · 2 comments
Open

Prevent Click Any Position To Trigger Turn Page Event #17

pang-lee opened this issue Feb 28, 2021 · 2 comments

Comments

@pang-lee
Copy link

pang-lee commented Feb 28, 2021

Is it possible to modify that won't trigger turn event when clicking anywhere in the book?
for example: Turn page when only click corner, draw or double click?
I see that there is a config value call disableFlipByClick, but it doesn't work.

@maxlech974
Copy link

Hello @pang-lee ,

have you try this props?

useMouseEvents={false}

@pang-lee
Copy link
Author

Hello @pang-lee ,

have you try this props?

useMouseEvents={false}

Yes, I have already try and it's work perfectly, Thanks!!

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

2 participants