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

paper-tabs: setting center=true squashes tabs / breaks pagination #893

Closed
pauln opened this issue Feb 27, 2018 · 1 comment · Fixed by #1048
Closed

paper-tabs: setting center=true squashes tabs / breaks pagination #893

pauln opened this issue Feb 27, 2018 · 1 comment · Fixed by #1048

Comments

@pauln
Copy link
Contributor

pauln commented Feb 27, 2018

If tabs are rendered with center=true on a small screen, they get squashed up to fit within the visible space, preventing pagination from kicking in:
localhost_4222_ iphone 7

This can be seen by adding center: true to the demo/tabs.js controller in the dummy app and loading it in a narrow browser (i.e. on a mobile device or using mobile view in dev tools).

I'm guessing that this hasn't been noticed yet because if center is toggled after page load (such as by ticking the center box in the docs) or you open the page in a larger window and then resize to mobile size, the tabs appear full size and paginated, as expected:
localhost_4222_ iphone 7 1

@panthony
Copy link
Contributor

I think this issue is fixed on master

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

Successfully merging a pull request may close this issue.

2 participants