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

Added vertical switching if height more than weight #92

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

d8corp
Copy link

@d8corp d8corp commented Mar 2, 2021

Just added correct behavior if height more than weight, it does not change interfaces.

@d8corp d8corp changed the title Added horizontal switching if height more than weight Added vertical switching if height more than weight Mar 2, 2021
@markusenglund
Copy link
Owner

Hi,

Your changes look well thought out and the demo works well. However, I'm leaning towards not merging.

A vertical toggle-switch is as far as I know a very rare use-case and adding support for it might not be worth the additional complexity it brings and supporting it forever.

I would be open to merging this if you or someone else can make a convincing argument that a vertical switch is not a niche use-case and in fact something a lot of users of this library want.

@d8corp
Copy link
Author

d8corp commented Mar 18, 2021

I completely agree with you. The vertical swipe for UI elements is an antipattern. I just look for some new UX, try different things. Just some food for your brain.

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