-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] ToolbarItem Order property ignored #6127
Comments
Would you mind attaching a zipped reproduction? |
Here is a GitHub repo XamToolbarDemo This is a just the default VS 2019 Xamarin.Forms App template I only added more Toolbar items and set their Order property to Secondary Tested on actual device Tecno F1 Android 8.1.0 |
Experienced the same behaviour. |
I'm experiencing the same behavior on Android & iOS. VS 2019 |
same with |
Issue come when used shell. |
Same issue here with 4.2.0.778463. This is blocking my intended migration from Master-Detail to Shell. @samhouts: I don't suppose there are any workarounds for this? |
I'm afraid I'm not aware of any workarounds at this time. @PureWeen ? |
The error originates here. The I've opened a PR to fix that |
@jfversluis: greatly appreciated! One question, while you're in the area: I probably should have filed an issue for this, but when I was evaluating porting over to Shell, I noticed that ToolbarItems from sub-pages inside a TabbedPage weren't being picked up by the Shell at all. Is that by design, or does it also need to be fixed? (I can provide a repro if needed.) |
@iooovolts @Darlingtone I think the fix in my PR has just missed the release that just came out. Please be on a lookout for the next 4.2 or 4.3-pre release which should include it for sure. |
Since 4.3.0.908675 it is fixed for Android, but not for IOS. |
@KoenMat it seems you are totally right. Since this was focussed on Android I didn't pay any attention to iOS. I've opened a new issue for it to track it properly. |
Description
Then Order property of ToolbarItem is totally ignored, the item is always displayed as primary even when set to secondary
Steps to Reproduce
Expected Behavior
Items with order set to primary show on navigation bar while items with order set to secondary shows as a pop up menu when the 3-dots icon is tapped
Actual Behavior
All ToolbarItem show up on the Navigation bar regardless of their order settings, the 3-dots icon don't even show
Basic Information
The text was updated successfully, but these errors were encountered: