Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Floating ToolBar] Support scrolling #4465

Open
RoyTheReal opened this issue Dec 11, 2024 · 2 comments
Open

[Floating ToolBar] Support scrolling #4465

RoyTheReal opened this issue Dec 11, 2024 · 2 comments

Comments

@RoyTheReal
Copy link

RoyTheReal commented Dec 11, 2024

Description: Items in the Floating Toolbar are getting cut off when the screen cannot accommodate the entire Toolbar.

IMG-20241211-WA0005

Expected Behavior:
The Floating Toolbar should automatically enable scrolling in both horizontal directions to ensure all icons are accessible. This scrolling capability should be integrated into the Floating Toolbar, and it should include fading effects on both ends to indicate more content is available. Manually adding a horizontal scroll (Hscroll) view does not work properly because scrolling conflicts with the centered aspect that the ToolBar has both vertically and horizontally, thus making it not possible to scroll through all of them. It would also be much easier to have the functionality built into the component.

Steps to Reproduce:

  1. Implement a Floating Toolbar with several items.
  2. Display the Floating Toolbar on a device with a screen size that cannot fully accommodate the toolbar's width.
  3. Observe that items get cut off instead of being scrollable or otherwise accessible.

Android API Version: 35

Material Library Version: 1.13.0-alpha08

Device: Samsung Galaxy S23

@RoyTheReal RoyTheReal added the bug label Dec 11, 2024
@imhappi
Copy link
Contributor

imhappi commented Dec 11, 2024

Hi @RoyTheReal , this is on our roadmap :)

@imhappi imhappi self-assigned this Dec 11, 2024
@imhappi imhappi changed the title [Floating ToolBar] Items get cut off [Floating ToolBar] Support scrolling Dec 11, 2024
@RoyTheReal
Copy link
Author

Hi @RoyTheReal , this is on our roadmap :)

Oh awesome, thank you! I will look forward to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants