Closed BrainCrumbz closed 5 months ago
This is very true.
Usually the recommendation is to use ngIf
but ngIf
. I think the ngIf
may flicker upon showing and using the CSS display
property is better.
Hi!
This is true, but [hidden]="!show"
isn't working in IE10.
My solution:
[attr.data-hidden]="!show"
[data-hidden="true"] { display: none !important; }
There are cases when the picker dialog remain visible even after the
[hidden]
attribute is set to true. According to this post and some questions on StackOverflow, it seems like such attribute is relatively easy to break, e.g. when the same elements gets assigned adisplay
value by some CSS rule.According to same post, some of the viable alternatives would be: