-
Notifications
You must be signed in to change notification settings - Fork 295
Fix CSS in app-navigation #594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Wild guess: did you somehow break the click handler binding and the app tries to navigate to |
Easy, I can do that. Doesn't have to be in this PR as that's independent. |
Why do we need js for this? |
js/templates/account.html
Outdated
| {{#if hasFolders}} | ||
| <li class="account-toggle-collapse">{{toggleCollapseMessage}}</li> | ||
| <li class="account-toggle-collapse"> | ||
| <a href="">{{toggleCollapseMessage}}</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here you go. The newly added a element causes an unexpected navigation. The click handler should call event.preventDefault().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preventDefault isn't working here, wefound something else. ;)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
|
Pushed a fix for the other two issues, the position was indeed CSS only. :) |
|
❤️ |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and questions. |
This is pretty much done now! Needs some testing with subfolders @nextcloud/mail
TODO where I need JS help: