TabControl Tabs Don't Work After First Time Showing In DialogHost #4062
-
|
Using I have a simple main window that contains a DialogHost. When I click a button, I create a new StimulusDialog object which is a user control that is a grid containing the StimulusView contents and ok/cancel buttons. The StimulusView is just a tab control with 4 tabs. The ok/cancel buttons Command property is set to DialogHost.CloseDialogCommand. The first time that I click the button in the main view, I can select the tabs and click ok or cancel. After that, none of the tabs will select, but I can still ok or cancel. I'm sure that I'm doing it wrong, but I can't figure it out. Here is a simple example that replicates my issue. Any help is very appreciated! Thanks. -Reilly. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
@reillybainet this indeed looks like a regression. |
Beta Was this translation helpful? Give feedback.
-
|
@reillybainet That indeed is a regression. I'll need to look into that. A workaround, for now, is to disable the animated scroll behavior (by setting scroll duration to 0): <TabControl TabStripPlacement="Bottom" md:TabAssist.ScrollDuration="0">This seems to allow the tabs to work on subsequent openings of the stimulus dialog. @corvinsz created an issue for this, so I'll try to hunt it down... |
Beta Was this translation helpful? Give feedback.
-
|
@corvinsz , @nicolaihenriksen |
Beta Was this translation helpful? Give feedback.
@reillybainet That indeed is a regression. I'll need to look into that. A workaround, for now, is to disable the animated scroll behavior (by setting scroll duration to 0):
This seems to allow the tabs to work on subsequent openings of the stimulus dialog.
@corvinsz created an issue for this, so I'll try to hunt it down...