Closed dylanvdmerwe closed 7 years ago
Seems like a duplicate of https://github.com/driftyco/ionic/issues/10176?
You need to call update after changing the visibility to readjust the slides. It has been added to the docs as it was previously set to private.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Ionic version: (check one with "x") [ ] 1.x [x] 2.x
I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior: If you bind to
[hidden]
, when theion-slides
becomes visible the sliding is broken. Pages do not lock correctly.Note that if you use
*ngIf
it works, but then@ViewChild
becomes complicated.Expected behavior: Slider should work correctly.
Other information: See attached repo: sliderTest.zip
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):