Refresh issue with TextBox/ListBox in ToolBar contained in TabablzControl
This is a fairly recent issue but I can't put my finger on the date of introduction. Definitely last few months.
Check the video examples.
Identical XAML with only difference being TabablzControl vs. TabControl.
As you can see, when using TabablzControl, the disabled dotted line indicators are carried over to all other tabs as ghosts.
TabablzControl
https://drive.google.com/open?id=1qiYnyS5QvI-OMiawksc7QUCo4LGmsu75
Notice all good at 0:10 and ghosts starting to stick at 0:18
TabControl
https://drive.google.com/open?id=1bBmn-pNd-mniw3J_aBML92I_6Npd3uuE
Notice no ghosting issue at all but at 0:07 dotted lines vs. 0:15 they are gone and never seen again. This is easily reproduced in Demo app by adding TabControl with
<TextBox materialDesign:HintAssist.Hint="Num Packets" IsEnabled="False" Text="1200" Margin="10,0,10,0" Width="90" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
in one of the tabs.
Same thing. This appeared after update 3.1.2
Yes, same issue here. It is impacting DatePickers and ComboBoxes as well and maybe some others.

I believe its related to the BottomLineDashedAdorner introduced in #1783 which seems to overlay the dashed underline when the control is disabled (ie. by selecting another tab) but the overlay sits above the tab so it is displayed on all tabs.
I'm not too familiar with adorners so not sure the best way to workaround this. I thought maybe of a workaround which looks for the TabItem of the actual control and checks if it is selected before rendering the adorner?
So I believe you are correct with the adorner being the issue. I think the correct fix will be to apply an AdornerDecorator at some level within the templates that rely on the adorner, otherwise the Window's adorner layer will get used, which is what is on top of the dialog host. I also suspect this only occurs with the embedded dialog host and the default one would put the dialog in a popup which sits outside of the window, and I believe, on top the the adorner layer.
Thanks @Keboo , I've cobbled together a PR which seems to fix it but not sure I've placed the AdornerDecorator in the ideal places.