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

Right arrow button is not hidden when there is no more tabs hidden on the right. #241

Open
3 of 8 tasks
lillith93 opened this issue Apr 9, 2020 · 0 comments
Open
3 of 8 tasks

Comments

@lillith93
Copy link

Description

When paper-tabs are used with arrow buttons like in demo case:

"The scrollable attribute causes the tabs to scroll, rather than compress when there is not enough space. Arrow buttons appear when any of the tabs are not completely visible."

the arrow on the right (that indicates more tabs to the right) is not hidden when the last tab is loaded in the view, resulting in an inconsistent behavior between the left and the right navigation arrows.

Also, the user can get confused as the right arrow is there and not even disabled but upon click will load no more tabs.
paper-tabs-arrow-issue

Expected outcome

The right arrow should be hidden in case the last tab is in view.

Actual outcome

The right arrow is visible when the last tab is in view.

Live Demo

Steps to reproduce

  1. Open Demo for paper-tabs. Preferable with a browser version that still supports HTML import or local build.
  2. Go to the 5th example: The scrollable attribute causes the tabs to scroll, rather than compress, when there is not enough space. Arrow buttons appear when any of the tabs are not completely visible.
  3. Click the right arrow until the last tab is in view
  4. Check the right arrow (is still visible when it should be hidden)

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
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

1 participant