-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] CommandBar content does not fill vertical space and shifts up when more (···) button is clicked #9042
Comments
@jfversluis Hi Gerald. Do you know if this issue is fixed with #8625? |
@velocitysystems it might be! I've created a new build of that PR on top of master, you should be able to download the NuGet here: https://dev.azure.com/xamarin/public/_build/results?buildId=11995&view=artifacts&type=publishedArtifacts Would you be able to try it? |
Thanks @jfversluis. I updated the repro project to use your NuGet artifact, however I get errors when trying to build as the .nupkg appears to be missing UWP payload files? |
We are seeing this on UWP too. Thanks in advance. |
@jfversluis Hi Gerald, just wondering if you possibly have any update on this? A number of of our UWP users are reporting it and it’s a little ugly to be sure. Thanks! |
Unfortunately, I don't have any update to share at this moment, sorry about that. Is there anything from your side that you have discovered in the meantime that could help us get to the cause of this? |
Confirmed that this still happens with Xamarin.Forms version 4.40.991265, Windows 10 version 1903. Check of web shows no fix for this yet |
Bump. Any possible updates on this? |
Allow visibility configuration of |
I would agree on this because on Android and iOS ToolbarItems / CommandBaritems are fully shown (despite the fact that target devices will usually have smaller screens). This is especially annoying if you need to port an existing app to UWP and the app has many pages with toolbar items with text only which will not be shown until you press the (···) button. |
@samhouts @PureWeen @hartez @jfversluis Hi XF Team, This is on our priority list too. It's also visual, but it affects every view in the app and looks very amateurish. It was reported back in December 2019. |
I used a suggestion to create a custom VisualStateManager as per https://stackoverflow.com/questions/33290361/how-to-make-the-commandbar-open-towards-the-bottom-of-the-screen It seems to work fine for me? |
Hi everybody, Correct behaviour (the top of the image is the top of my screen) Incorrect behaviour (I just move the windows some pixel down) So, what is the progress of the issue ? Regards. Eric. |
@educos35 did you try the solution in the link above? It worked for me. Not ideal but better than being blocked until Xamarin Forms has a bug fix - which could be months or worse. |
@nbevans : Hi...thanks for your suggestion, but I am missing something in understanding how to use the OpenDownCommandBar. Should I simply add that on the MainPage.xaml of my UWP project ? <Page.TopAppBar> It does not work...It adds a new bar above the Xamarin toolbar I tried to replace the OpenDownCommandBar to inherit from FormsCommandBar and not from CommandBar as it seems that this is the Type used to define the Toolbar. Now, I get only one toolbar, but behaviour is like before... Could you test ont the Xamarin Sample ToolbaritemDemos project ? Regards. |
Hi everybody ! |
Description
Content in the command bar ie. ToolBar item icons do not fill the available vertical space.
When the more (···) button on the toolbar is clicked, the content in the
CommandBar
shifts up.Note: Only occurs when targeting UWP platforms > 16299.
May be related to #5661.
Steps to Reproduce
Expected Behavior
The command bar should expand but not shift upward.
Actual Behavior
The command bar expands and shifts upward.
Basic Information
Version with issue: 4.4.0 (vLatest)
Last known good version:
N/A - Related to UWP platform change.
Overriding AppBarThemeMinHeight doesn't cause AppBarButton to fill available height. microsoft/microsoft-ui-xaml#275
IDE: Microsoft Visual Studio 2019
Platform Target Frameworks:
Screenshots
Before

After

Reproduction Link
ToolbarIconSample.zip
The text was updated successfully, but these errors were encountered: