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

Cannot select text when using mouse #13

Open
adalinesimonian opened this issue Feb 25, 2015 · 3 comments
Open

Cannot select text when using mouse #13

adalinesimonian opened this issue Feb 25, 2015 · 3 comments

Comments

@adalinesimonian
Copy link

Currently, swipe-pages responds to any events invoked by the mouse, which makes it impossible to drag and select text when using a notebook or desktop computer. If the component only responded to touch events, this would still let those on a mobile interface swipe between pages, but would allow users at a traditional computer to select text on the page.

@giantelk
Copy link

This should be an option to swipe on: touch only, mouse only, or mouse & touch. There are still use cases where it makes sense to work the way it does today, swiping on mouse press. i.e. think of the carousel in iTunes desktop app, for album covers. The Mac OS X has a similar feature in the Finder to swipe with the mouse.

@adalinesimonian
Copy link
Author

Very good point, @giantelk! I think that may be the way to go.

@giantelk
Copy link

Basic would be 2 options, that can both work at same time if both are enabled.
touch and/or mouse
Fancy options for down the road would allow various mouse events, i.e.
mouseDrag=true;
mouseClick=false;

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