maui icon indicating copy to clipboard operation
maui copied to clipboard

Buttons in some pages of a TabbedPage don't grow and instead clip their content

Open rmotta01 opened this issue 3 years ago • 6 comments

Description

Buttons in some pages of a TabbedPage don't grow and instead clip their content.

Steps to Reproduce

  1. Open the TabbedPage sample from the Maui samples repo in Visual Studio. https://github.com/dotnet/maui-samples/tree/main/6.0/Navigation/TabbedPage
  2. Run the app in the Android Emulator. I'm using "Pixel 3a - API 31 (Android 12 -API 31)"
  3. Click the button on each tab page, some of the Buttons will clip the text instead of adjusting their width.

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 12

Did you find any workaround?

No response

Relevant log output

No response

rmotta01 avatar Aug 22 '22 11:08 rmotta01

Hi @rmotta01. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Aug 22 '22 14:08 ghost

Thanks for this issue @rmotta01, I am not sure the we 100% understand what you are seeing, so if you could attach a screenshot to the issue of where the issue lies - you mention button but I also feel you may be talking about the tab header?

mattleibow avatar Aug 22 '22 15:08 mattleibow

image

The text in the button should be "Clicked 1 time".

rmotta01 avatar Aug 22 '22 15:08 rmotta01

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

ghost avatar Aug 23 '22 18:08 ghost

Verified this issue with Visual Studio Enterprise 17.6.0 Preview 7.0. Repro on Android platform with sample project. https://github.com/dotnet/maui-samples/tree/main/6.0/Navigation/TabbedPage AA

Zhanglirong-Winnie avatar May 19 '23 06:05 Zhanglirong-Winnie

The ScrollView isn't resizing as content changes. This is similar to other issues raise and can be worked around by:

a. (ScrollContainer as IView).InvalidateMeasure(); OR b. remove the ScrollView in cases like this sample where it's not necessary

Screenshot_1688667998

davidortinau avatar Jul 06 '23 18:07 davidortinau