Skip to content

Conversation

@iansvo
Copy link

@iansvo iansvo commented Jun 13, 2020

Fixed options check to ensure extra row markup only gets created where there is more than 1 row.

Added extra class to the row element to make its purpose less ambiguous.

For several years now, I've noticed that a single row slider still generates this extra markup. Since the markup is just an empty div, its purpose is not exactly clear and thus has tripped up several developers I've spoken with.

Since the default row value is 1, this seems like a simple and appropriate change to make the option work as expected and have the resulting markup be more clear for the developer.

Fixed options check to ensure extra row markup only gets created where there is more than 1 row.

Added extra class to the row element to make it’s purpose less ambiguous.
@hissssst
Copy link

hissssst commented May 30, 2023

This has fixed the bug I've been trying to catch for whole three days, thanks!

@hissssst
Copy link

I just don't understand how this component can be that much broken for 3 years

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 this pull request may close these issues.

2 participants