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

maxHeight does not hide all items #6608

Closed
sebastianbochan opened this Issue Apr 19, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@sebastianbochan
Contributor

sebastianbochan commented Apr 19, 2017

Expected behaviour

Set pagination and correct amount of items.

Actual behaviour

When maxheight is set to less than 30 it shows the pagination links but still shows all legend items.

Live demo with steps to reproduce

Example:

Affected browser(s)

All

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Apr 21, 2017

Collaborator

The fixed version hides the legend completely, which isn't much better, but it may be more intuitive. The obvious workaround would be to make the maxHeight big enough to always show something.

Collaborator

TorsteinHonsi commented Apr 21, 2017

The fixed version hides the legend completely, which isn't much better, but it may be more intuitive. The obvious workaround would be to make the maxHeight big enough to always show something.

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