You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very strange behavior. I'm using bottom navigation and in one of the fragments (FA) there is a button. When the fragment is shown for the first time everything is normal. When we use bottom navigation to other fragments and then back to the FA, a vertical bar appears on the right of the button and then disappears in 3 seconds. This happens to buttons only with style using Widget.MaterialComponents.Button.OutlinedButton as parent style. Elevated is behaving as expected.
Do you have a minimal sample app you can share with us that reproduces this? I don't see anything like this when trying to repro the issue on my end. Thanks!
hunterstich
changed the title
[Component name] Vertical bar appers and gone on the right of button and textview's
[Button] Vertical bar appers and gone on the right of button and textview's
Mar 28, 2024
@kelalaka153 , I also saw this (a couple of months ago). I doubt it's been fixed in the latest 1.12.0 version of Material. I put android:scrollbars="none" on the views that were showing the scrollbars 😕
This is a very strange behavior. I'm using bottom navigation and in one of the fragments (FA) there is a button. When the fragment is shown for the first time everything is normal. When we use bottom navigation to other fragments and then back to the FA, a vertical bar appears on the right of the button and then disappears in 3 seconds. This happens to buttons only with style using Widget.MaterialComponents.Button.OutlinedButton as parent style. Elevated is behaving as expected.
This is the style that the button uses
Expected behavior:
Source code: The code snippet which is causing this issue
This is the button.
Android API version:
minSdk = 29
compileSdk = 34
Material Library version:
material:1.11.0
Device:
Tested on Android 11,12 devices and Android 14 emulator.
The text was updated successfully, but these errors were encountered: