You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app-navigation toggle button which is visible for small screensizes does not work with Vue.js apps. This is because the event handler for this button is bound by jQuery before the Vue app loaded. Vue.js apps remove all event handlers from elements within their scope, so the snapjs handler is never triggered when the button is clicked.
I packed a small vue.js app to demonstrate the problem. It does nothing else then showing the problem. Just unpack it in your app folder, activate it and reduce the window size below 768 px width to show the app-navigation-toggle button. Then click the button and see that the app navigation menu does not appear.
I guess we have to load the vue.js app first and then bind the event handler for the button. Or handle it in vue and provide a function which the app can call to show the menu. But maybe @skjnldsv has a better idea.
GitMate.io thinks possibly related issues are #9767 (Vue apps issues), #9938 (Vue settings apps), #8991 (Right-click and »open in new tab« does not work for app navigation), #7801 (Nextcloud Talk APP NOT Working), and #4827 (App description not available for local apps).
The app-navigation toggle button which is visible for small screensizes does not work with Vue.js apps. This is because the event handler for this button is bound by jQuery before the Vue app loaded. Vue.js apps remove all event handlers from elements within their scope, so the snapjs handler is never triggered when the button is clicked.
I packed a small vue.js app to demonstrate the problem. It does nothing else then showing the problem. Just unpack it in your app folder, activate it and reduce the window size below 768 px width to show the app-navigation-toggle button. Then click the button and see that the app navigation menu does not appear.
I guess we have to load the vue.js app first and then bind the event handler for the button. Or handle it in vue and provide a function which the app can call to show the menu. But maybe @skjnldsv has a better idea.
vuetest.tar.gz
The text was updated successfully, but these errors were encountered: