Skip to content

[NcAppContent] pane resize broken with 9.0.0-rc.1 #6931

@wofferl

Description

@wofferl

Using 9.0.0-rc.1 in the Nextcloud News App throws following error, when using split mode and the position is not stored in the browser store.

13:11:05.240 Uncaught (in promise) TypeError: e[0] is undefined
    handlePaneResize NcUserStatusIcon-M_93a-z6.mjs:8
    kn _l10n-dinIMiE_.mjs:47
    It _l10n-dinIMiE_.mjs:47
    aD _l10n-dinIMiE_.mjs:55
    Ze NcUserStatusIcon-M_93a-z6.mjs:8
    Q NcUserStatusIcon-M_93a-z6.mjs:8
    X NcUserStatusIcon-M_93a-z6.mjs:8
    P NcUserStatusIcon-M_93a-z6.mjs:8
    onmousedown NcUserStatusIcon-M_93a-z6.mjs:8
NcUserStatusIcon-M_93a-z6.mjs:8:18

This is also reproducible on the Nextcloud Vue Style Guide when using the slider in the following demo

Image

13:09:10.485 Uncaught TypeError: t[0] is undefined
    handlePaneResize https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Nn https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Tn https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    zr https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    92220/ul/get emit/< https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    T https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    f https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    h https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    onmousedown https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    y https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    w https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    setup https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Oa https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Nn https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Tn https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    __weh https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    qn https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Qn https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    promise callback*Yn https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    $n https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    cs https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    s https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    run https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    R https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    O https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    I https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    L https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    s https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    run https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    R https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    O https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    I https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    L https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    s https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    run https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    R https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    O https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    I https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    L https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    et https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    mount https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    mount https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    gl https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    c https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    value https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    value https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Hl https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Ll https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Vl https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    _c https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    _c https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    lc https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Pa https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    ic https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    ic https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    nc https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    zc https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    render https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    Rc https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    EventListener.handleEvent* https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    <anonymous> https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
    <anonymous> https://nextcloud-vue-components.netlify.app/build/bundle.e4e93fb1.js:2
bundle.e4e93fb1.js:2:4348744

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions