Swipeable Cards and Side Nav are not working on iOS
carlosagsmendes opened this issue · 9 comments
carlosagsmendes commented
Tested with Safari and Chrome on iPhone 6
paullewis commented
Thanks, I'll take a look now.
paullewis commented
Oh it's likely the use of ES2015 code.
paullewis commented
Yeah:
babel --presets=es2015 swipeable-cards/cards.js --out-file swipeable-cards/cards-es5.js
babel --presets=es2015 side-nav/side-nav.js --out-file side-nav/side-nav-es5.js
"fixes" it. I'll add a note to the README.
carlosagsmendes commented
Thks
ricardobrandao commented
The online samples have not been updated yet, right?
paullewis commented
Updated how? I don't necessarily intend to put out ES5 versions of the code; it adds a level of complexity, which wasn't the intention of the project.
ricardobrandao commented
Ok, I didn't notice that. So the online samples won't work until the browsers fully support classes. Maybe that could be added to the readme? :)
paullewis commented
I added it yesterday :D https://github.com/GoogleChrome/ui-element-samples#es2015-and-es5-transpilation
ricardobrandao commented
Ah, sorry! Thanks 👍