-
Notifications
You must be signed in to change notification settings - Fork 136
opened initially shows sidebar even if false #112
Comments
This is happening to me as well. |
I can't seem to reproduce this. Are there any other options that you've used? |
settingsOpened is false (settign it false in there still causes the bug). |
I still can't seem to reproduce the issue. Do you have some styles for the sidebar too? |
There is however another instance of a sidebar inside it's (using different property for opened).
the settings sidebar has a style override for higher z-index. |
the same issue :( |
Bit of testing and it seems like animations are to blame:
Quick override to this and the bug is gone - but so is the animation. It seems like the animation is triggered in the beginning and in some cases (larger app, slower initial load and wider sidebar), it becomes noticeably visible. In the code: Currently i set |
Thanks for the investigation and suggestion, @Ketec . I've published v6.0.4 with a change based on yours. |
Open another issue. It should be fixed though, unless you can reproduce the problem in a basic setup. |
I found a workaround
|
This issue seems to have resurfaced in the latest version |
There hasn't been an update in 3 months... |
Anybody solved this issue? I am facing this issue in my application and not able to figure it out |
@RezaRahmati is right! Problem is with the
|
[opened]="false"
[(opened)]="state" / public state: boolean = false;
In both cases it initially shows sidebar on page load for a moment - until change detection i assume.
If i remove the opened from attributes, it won't initiall show (and well icant show it ether).
The text was updated successfully, but these errors were encountered: