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

[IOS] Tabbar scroll horizontally when set 4 items #418

Open
kefahB opened this issue Nov 22, 2022 · 2 comments
Open

[IOS] Tabbar scroll horizontally when set 4 items #418

kefahB opened this issue Nov 22, 2022 · 2 comments

Comments

@kefahB
Copy link
Contributor

kefahB commented Nov 22, 2022

Hi @farfromrefug,

I try to investigate the behavior of the ui-material-tabs, it scroll horizontally when setting more then 3 items, I did set
here tabBar.alignment = justifyed or tabBar.alignment = leading but no one sound to change any think.

Do you have any idea about this topic ?

@farfromrefug
Copy link
Member

@kefahB here is the doc for the iOS component https://github.com/material-components/material-components-ios/blob/242f895f053ae7fea62fc02289bc99aa0ef630a2/components/Tabs/README.md. the scroll behavior is explained there.
Maybe you can find how to do what you want

@kefahB
Copy link
Contributor Author

kefahB commented Nov 23, 2022

@farfromrefug, I catch it, there is som think wired, if the fontSize > 10 dpi the tabbar view being scrolling event if preferredLayoutStyle is fixed. I don't know if it is designed to do so !

I'll keep this open until I have a bit of time to do a PR (if needed)

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

No branches or pull requests

2 participants