Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

smarter suggestions #20

Closed
ianstormtaylor opened this Issue Oct 22, 2013 · 2 comments

Comments

Projects
None yet
3 participants
Contributor

ianstormtaylor commented Oct 22, 2013

https://github.com/component/tip/blob/master/index.js#L232-L241

it always reflects across a single axis, instead of swapping from west to south. running into this where on the desktop we use west, but on mobile theres no space on either east or west, so south would be better

Owner

tj commented Oct 22, 2013

+1

Owner

tj commented Oct 22, 2013

need to fix them names first haha

@TooTallNate TooTallNate added a commit that referenced this issue Dec 19, 2014

@TooTallNate TooTallNate use an elimination strategy for the `suggested()` function
Handles cases where "right" is requested, but the width of the
page is no large enough for "left" nor "right" to work. Now
in that scenario, "top" would be returned, for example.

Closes #20.
bf70013

@TooTallNate TooTallNate closed this in #50 Jan 14, 2015

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