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

slider does not slide on iPhone #2083

Closed
mbateman66 opened this issue Dec 5, 2016 · 5 comments
Closed

slider does not slide on iPhone #2083

mbateman66 opened this issue Dec 5, 2016 · 5 comments
Assignees
Labels
P2 The issue is important to a large percentage of users, with a workaround

Comments

@mbateman66
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Slider should work on the iPhone like it does on other platforms.

What is the current behavior?

Slider does not slide on iPhone. You can touch in a new location, and it will send the new value, but touching the slider circle does not allow it to be moved.

Which versions of Angular, Material, OS, browsers are affected?

IOS 10.1.1, both Safari and Chrome

NPM:
"dependencies": {
"@angular/common": "^2.1.0",
"@angular/compiler": "^2.1.0",
"@angular/core": "^2.1.0",
"@angular/forms": "^2.1.0",
"@angular/http": "^2.1.0",
"@angular/material": "^2.0.0-alpha.10",
"@angular/platform-browser": "^2.1.0",
"@angular/platform-browser-dynamic": "^2.1.0",
"@angular/router": "3.0.0",
"@types/chai": "^3.4.34",
"@types/chartist": "^0.9.33",
"admin-lte": "^2.3.8",
"angular2-chartist": "^0.10.1",
"angular2-jwt": "^0.1.24",
"angular2-toaster": "^1.0.2",
"angularfire2": "^2.0.0-beta.6",
"auth0-lock": "^10.4.0",
"bootstrap": "^3.3.7",
"chart.js": "^2.4.0",
"core-js": "^2.4.1",
"font-awesome": "^4.7.0",
"hammerjs": "^2.0.8",
"ionicons": "^3.0.0",
"jquery": "^3.1.1",
"ng2-bootstrap": "^1.1.5",
"ng2-charts": "^1.4.1",
"rxjs": "^5.0.0-beta.12",
"ts-helpers": "^1.1.1",
"zone.js": "^0.6.23"
},

Is there anything else we should know?

@alsami
Copy link

alsami commented Dec 6, 2016

did you include hammerjs in your polyfills or main file?

See also the getting_started file
https://github.com/angular/material2/blob/master/GETTING_STARTED.md

@mbateman66
Copy link
Author

Yes, I have the following line in my src/app/app.module.ts:
import 'hammerjs';

I do not have the types entry in the tsconfig.json, since adding that breaks the compile for other modules. But there is an entry for typeRoots that includes the node_modules/@types directory where the hammerjs types are located.

@ayazhussein
Copy link

I got the same problem, trying to slide on mobile doesn't work correctly, when I try to slide, it shows the tooltip and then stays stuck, unless I tap somewhere else and then I try again, after that it works.

@mbateman66
Copy link
Author

For me, it will never slide, even after a tap.

@jelbourn jelbourn added the P2 The issue is important to a large percentage of users, with a workaround label Dec 6, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P2 The issue is important to a large percentage of users, with a workaround
Projects
None yet
Development

No branches or pull requests

5 participants