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

maxHeight does not hide all items #6608

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

maxHeight does not hide all items #6608

sebastianbochan opened this issue Apr 19, 2017 · 1 comment

Comments

@sebastianbochan
Copy link
Contributor

@sebastianbochan 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
Copy link
Collaborator

@TorsteinHonsi 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants