{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/15044","repository_url":"https://api.github.com/repos/ionic-team/ionic","labels_url":"https://api.github.com/repos/ionic-team/ionic/issues/15044/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic/issues/15044/comments","events_url":"https://api.github.com/repos/ionic-team/ionic/issues/15044/events","html_url":"https://github.com/ionic-team/ionic/issues/15044","id":347660775,"node_id":"MDU6SXNzdWUzNDc2NjA3NzU=","number":15044,"title":"[Ionic v4] slidesPerView does not work on ion-slides unless window is resized","user":{"login":"ivas123","id":6767541,"node_id":"MDQ6VXNlcjY3Njc1NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/6767541?v=4","gravatar_id":"","url":"https://api.github.com/users/ivas123","html_url":"https://github.com/ivas123","followers_url":"https://api.github.com/users/ivas123/followers","following_url":"https://api.github.com/users/ivas123/following{/other_user}","gists_url":"https://api.github.com/users/ivas123/gists{/gist_id}","starred_url":"https://api.github.com/users/ivas123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivas123/subscriptions","organizations_url":"https://api.github.com/users/ivas123/orgs","repos_url":"https://api.github.com/users/ivas123/repos","events_url":"https://api.github.com/users/ivas123/events{/privacy}","received_events_url":"https://api.github.com/users/ivas123/received_events","type":"User","site_admin":false},"labels":[{"id":835668554,"node_id":"MDU6TGFiZWw4MzU2Njg1NTQ=","url":"https://api.github.com/repos/ionic-team/ionic/labels/triage","name":"triage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-05T01:31:41Z","updated_at":"2018-08-14T02:03:39Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n# Bug Report\r\n\r\n**Ionic Info**\r\n@ionic/angular: \"4.0.0-beta.1\"\r\n\r\n\r\n**Describe the Bug**\r\nSetting  slidesPerView in [options] on ion-slides does not work. Only after the window is resized then do I see the correct amount of slides for the corresponding view. Otherwise, I am only able to see one slide per view. \r\n\r\n\r\n**Related Code**\r\n```\r\n<ion-slides [options]=\"slideOpts\">\r\n    <ion-slide>\r\n        1\r\n    </ion-slide>\r\n    <ion-slide>\r\n        2\r\n    </ion-slide>\r\n    <ion-slide>\r\n        3\r\n    </ion-slide>\r\n    <ion-slide>\r\n        4\r\n    </ion-slide>\r\n    <ion-slide>\r\n        5\r\n    </ion-slide>\r\n    <ion-slide>\r\n        6\r\n    </ion-slide>\r\n    <ion-slide>\r\n        7\r\n    </ion-slide>\r\n</ion-slides>\r\n\r\n  slideOpts = {\r\n    loop: false,\r\n    slidesPerView: 6,\r\n    slidesPerGroup: 6,\r\n    grabCursor: true,\r\n    spaceBetween: 30\r\n  };\r\n```\r\n\r\n**Expected Behavior**\r\nI should be able to have slidesPerView active without having to resize the window.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/comments/412728514","html_url":"https://github.com/ionic-team/ionic/issues/15044#issuecomment-412728514","issue_url":"https://api.github.com/repos/ionic-team/ionic/issues/15044","id":412728514,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjcyODUxNA==","user":{"login":"ivas123","id":6767541,"node_id":"MDQ6VXNlcjY3Njc1NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/6767541?v=4","gravatar_id":"","url":"https://api.github.com/users/ivas123","html_url":"https://github.com/ivas123","followers_url":"https://api.github.com/users/ivas123/followers","following_url":"https://api.github.com/users/ivas123/following{/other_user}","gists_url":"https://api.github.com/users/ivas123/gists{/gist_id}","starred_url":"https://api.github.com/users/ivas123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivas123/subscriptions","organizations_url":"https://api.github.com/users/ivas123/orgs","repos_url":"https://api.github.com/users/ivas123/repos","events_url":"https://api.github.com/users/ivas123/events{/privacy}","received_events_url":"https://api.github.com/users/ivas123/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T02:03:39Z","updated_at":"2018-08-14T02:03:39Z","author_association":"NONE","body":"Thanks. Will do!"}}
{"actor":{"display_login":"ivas123"}}