-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
"Connection" tab not unfolding #1001
Comments
I would like to add that if you open the web interface while the printer is desconected then the connection tab is expanded by default, and you can expand and contract normally. Using devel branch up to date and Google chrome on Windows 10. |
What plugins do you have installed? |
I thought maybe it was a side effect of something I did in ScreenSquish, but I've disabled it and still repro. The reason it gets locked is that Collapse.transitioning gets stuck at 1 after #connection.collapse('hide') is called in the connection view model. And in bootstrap's Collapse.show it returns if transitioning is set. I haven't figured out why transitioning gets stuck at true yet. |
It doesn't repro every time. My current operating theory is if the connection state comes back before knockout propagates the isVisible to show the wrapper element (for logged in user) then the collapse gets hidden, but the transition doesn't occur (because the wrapper is hidden) and the transition completion event never fires leaving it permanently in the the transitioning state. Seems like bootstrap has a bug in that a collapse of an element that is hidden by some container. Not sure the best way to fix it. I could try to fix the bootstrap bug to call the completion function if the element is hidden for some other reason or we could postpone collapsing the connection state until the login state is known. |
Defer collapsing the connection element until the whole wrapper part is visible (it's hidden for non-admins).
Fix for #1001 connection tab not unfolding
PR merged to |
Defer collapsing the connection element until the whole wrapper part is visible (it's hidden for non-admins). (cherry picked from commit af67d8b)
Slightly different order of things caused #1001 to resurface.
#1001 said hi once more after fixing the onUserLogged(In|Out) events not firing...
Operating octoprint web interface
Connections tab to display when clicked
Connections tab did not display when clicked
Version: 1.2.4 (master branch)
(if applicable - always include if unsure):
Marlin Integration branch
System running Browser (if applicable - always
include if unsure):
Latest chrome on OS X
(ALWAYS INCLUDE AND DO NOT TRUNCATE):
N/A
gist.github.com or pastebin.com (if applicable - always
include if unsure or reporting communication issues AND
DO NOT TRUNCATE):
N/a
on gist.github.com or pastebin.com or alternatively a
screenshot (if applicable - always include if unsure
or reporting UI issues):
No errors seemed to show up:
include if unsure or reporting UI issues):
I have read the FAQ.
The text was updated successfully, but these errors were encountered: