{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/75","repository_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps","labels_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/75/comments","events_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/75/events","html_url":"https://github.com/ionic-team/ionic-native-google-maps/issues/75","id":360288004,"node_id":"MDU6SXNzdWUzNjAyODgwMDQ=","number":75,"title":"ERROR TypeError: Cannot read property 'offsetHeight' of undefined","user":{"login":"sverdlov","id":15052094,"node_id":"MDQ6VXNlcjE1MDUyMDk0","avatar_url":"https://avatars3.githubusercontent.com/u/15052094?v=4","gravatar_id":"","url":"https://api.github.com/users/sverdlov","html_url":"https://github.com/sverdlov","followers_url":"https://api.github.com/users/sverdlov/followers","following_url":"https://api.github.com/users/sverdlov/following{/other_user}","gists_url":"https://api.github.com/users/sverdlov/gists{/gist_id}","starred_url":"https://api.github.com/users/sverdlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sverdlov/subscriptions","organizations_url":"https://api.github.com/users/sverdlov/orgs","repos_url":"https://api.github.com/users/sverdlov/repos","events_url":"https://api.github.com/users/sverdlov/events{/privacy}","received_events_url":"https://api.github.com/users/sverdlov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-14T12:40:02Z","updated_at":"2018-09-14T16:59:56Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nThank you for supporting the plugin activity ($5 usd).\r\nhttps://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=SQPLZJ672HJ9N&lc=US&item_name=Cordova%2dGoogleMaps%2dPlugin&amount=5%2e00&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted\r\n\r\nIf you desire the support by e-mail in private, please contact to wf9a5m75@gmail.com (private support: $100 USD)\r\n--->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n- [ ] question\r\n- [X] any problem or bug report\r\n- [ ] feature request\r\n\r\n**If you choose 'problem or bug report', please select OS:**  (check one with \"x\")\r\n- [X] **Android**\r\n- [X] **iOS**\r\n- [X] **Browser**\r\n\r\n**cordova information:**  (run `$> cordova plugin list`) \r\n\r\n```\r\ncordova-plugin-device 2.0.2 \"Device\"\r\ncordova-plugin-googlemaps 2.4.3 \"cordova-plugin-googlemaps\"\r\ncordova-plugin-ionic-keyboard 2.1.2 \"cordova-plugin-ionic-keyboard\"\r\ncordova-plugin-ionic-webview 2.1.4 \"cordova-plugin-ionic-webview\"\r\ncordova-plugin-splashscreen 5.0.2 \"Splashscreen\"\r\ncordova-plugin-statusbar 2.4.2 \"StatusBar\"\r\ncordova-plugin-whitelist 1.3.3 \"Whitelist\"\r\n\r\n```\r\n\r\n**If you use `@ionic-native/google-maps`, please tell the package.json (only `@ionic-native/core` and `@ionic-native/google-maps` are fine mostly)**\r\n\"@ionic-native/core\": \"^5.0.0-beta.17\",\r\n\"@ionic-native/google-maps\": \"^5.0.0-beta.21\",\r\n\r\n**Current behavior:**\r\n<!-- Describe how the bug manifests. -->\r\nUsing the tutorial materials provied at [this link](https://docs.google.com/presentation/d/e/2PACX-1vScoho1ensbR4qCI9AIuQN55BZVvK73pAjI7sumDvW3CrxxHnrmpXWUjx2-8CpFibqU1EjLKCRhuthJ/pub?start=false&loop=false&delayms=3000) I've created a fresh project using Ionic Framework 4. Upon launch the following error appears in console:\r\n\r\n```\r\ncore.js:1449 ERROR TypeError: Cannot read property 'offsetHeight' of undefined\r\n    at index.js:1026\r\n    at t.invokeTask (polyfills.js:3)\r\n    at Object.onInvokeTask (core.js:4751)\r\n    at t.invokeTask (polyfills.js:3)\r\n    at r.runTask (polyfills.js:3)\r\n    at e.invokeTask (polyfills.js:3)\r\n    at i.isUsingGlobalCallback.invoke (polyfills.js:3)\r\n    at n (polyfills.js:3)\r\n```\r\n\r\n**Expected behavior:**\r\n<!-- Describe what the behavior would be without the bug. -->\r\nAccording to the tutorial provided it should work out of the box. \r\n\r\n\r\n** **Research done:** **\r\nAfter careful examination of this issue, I've found out that the problem lies within line 1010 of index.js of Ionic-native/google-maps\r\n\r\n`var targets = document.querySelectorAll('ion-router-outlet #' + element);`\r\nI use NavController instead of Ionic Router outlet, thats why my DOM don`t have <ion-router-outlet> element. So targets will be empty.\r\n\r\nCan you fix that?\r\n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/comments/421421370","html_url":"https://github.com/ionic-team/ionic-native-google-maps/issues/75#issuecomment-421421370","issue_url":"https://api.github.com/repos/ionic-team/ionic-native-google-maps/issues/75","id":421421370,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTQyMTM3MA==","user":{"login":"wf9a5m75","id":167831,"node_id":"MDQ6VXNlcjE2NzgzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/167831?v=4","gravatar_id":"","url":"https://api.github.com/users/wf9a5m75","html_url":"https://github.com/wf9a5m75","followers_url":"https://api.github.com/users/wf9a5m75/followers","following_url":"https://api.github.com/users/wf9a5m75/following{/other_user}","gists_url":"https://api.github.com/users/wf9a5m75/gists{/gist_id}","starred_url":"https://api.github.com/users/wf9a5m75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wf9a5m75/subscriptions","organizations_url":"https://api.github.com/users/wf9a5m75/orgs","repos_url":"https://api.github.com/users/wf9a5m75/repos","events_url":"https://api.github.com/users/wf9a5m75/events{/privacy}","received_events_url":"https://api.github.com/users/wf9a5m75/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T16:59:56Z","updated_at":"2018-09-14T16:59:56Z","author_association":"COLLABORATOR","body":"Thank you for sharing example project.\r\nI just let you know, you need to use `@ionic-native/core@beta` instead of `@ionic-native/core` for ionic v4 beta.\r\n\r\nhttps://github.com/sverdlov/mapTest/blob/5cf7d6f82b4e57cdd6c94fd400106e010ecd44be/package.json#L23\r\n\r\n\r\nI'm checking your project now."}}
{"actor":{"display_login":"wf9a5m75"}}