Skip to content

clientHeight is not defined #6

@AdrienDC

Description

@AdrienDC

Hi,
got a strange issue since I use this library.
TypeError: Cannot read property 'clientHeight' of undefined at child.initialize (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:7008:43) at child.ionic.views.View (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:4493:21) at new child (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:3457:44) at new <anonymous> (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:60570:36) at Object.instantiate (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:18015:14) at $controller (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:23417:28) at prelink (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:63180:24) at invokeLinkFn (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:22998:9) at nodeLinkFn (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:22376:11) at compositeLinkFn (http://192.168.137.1:8100/lib/ionic/js/ionic.bundle.js:21708:13), <!---->

clientHEight seems not defined so it is little tricky to display element. I'm basically displaying a list in the modal and as a workaround I have to add "top:9vh" to my first element to be able to see it. Otherwise it's hidden by my header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions